|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EBGum
An event-based gum, located in the peer. It process the calls received by the
GumProxy
.
Method Summary | |
---|---|
void |
changeFilePermissions(EventQueue<ResponseEvent> responseQueue,
java.io.File file,
int permissions)
|
void |
createPlaypen(EventQueue<ResponseEvent> responseQueue,
int size)
|
void |
createStorageDirectory(EventQueue<ResponseEvent> responseQueue)
|
void |
fileExists(EventQueue<ResponseEvent> responseQueue,
java.io.File file)
|
void |
getFile(EventQueue<ResponseEvent> responseQueue,
java.lang.String filePath,
long filePos,
int size)
|
GumSpec |
getGumSpec()
Retrieves the GumSpec cached in the peer |
GumID |
getID()
Retrieves the gum identification cached in the peer |
void |
getRemoteFileDigest(EventQueue<ResponseEvent> responseQueue,
java.io.File remoteFile)
|
void |
getRemoteFileLastModification(EventQueue<ResponseEvent> responseQueue,
java.io.File remoteFile,
boolean normalized)
|
void |
getRemoteFileLength(EventQueue<ResponseEvent> responseQueue,
java.io.File file)
|
void |
getResult(EventQueue<ResponseEvent> responseQueue,
ExecutorHandle handle)
|
void |
getStatus(EventQueue<ResponseEvent> responseQueue)
|
void |
getStorageDirectory(EventQueue<ResponseEvent> responseQueue)
|
void |
putFile(EventQueue<ResponseEvent> responseQueue,
java.lang.String remoteFile,
byte[] data,
boolean firstSlice)
|
void |
remoteExecute(EventQueue<ResponseEvent> responseQueue,
java.lang.String remoteDir,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.String> environmentVars)
|
void |
start()
Start the event processor |
void |
startReplica(EventQueue<ResponseEvent> responseQueue)
|
EventQueue<ShutdownResponseEvent> |
stop()
Must be implemented by the facade to stop event processing |
void |
stopReplica(EventQueue<ResponseEvent> responseQueue)
|
Method Detail |
---|
void remoteExecute(EventQueue<ResponseEvent> responseQueue, java.lang.String remoteDir, java.lang.String command, java.util.Map<java.lang.String,java.lang.String> environmentVars)
Gum.remoteExecute(java.lang.String,
java.lang.String, java.util.Map)
void putFile(EventQueue<ResponseEvent> responseQueue, java.lang.String remoteFile, byte[] data, boolean firstSlice)
Gum.putFile(String, byte[], boolean)
void getFile(EventQueue<ResponseEvent> responseQueue, java.lang.String filePath, long filePos, int size)
Gum.getFile(String, long, int)
void getResult(EventQueue<ResponseEvent> responseQueue, ExecutorHandle handle)
(org.ourgrid.common.executor.ExecutorHandle)
void fileExists(EventQueue<ResponseEvent> responseQueue, java.io.File file)
Gum.fileExists(java.io.File)
void changeFilePermissions(EventQueue<ResponseEvent> responseQueue, java.io.File file, int permissions)
Gum.changeFilePermissions(java.io.File, int)
void getRemoteFileLength(EventQueue<ResponseEvent> responseQueue, java.io.File file)
Gum.getRemoteFileLength(java.io.File)
void getRemoteFileLastModification(EventQueue<ResponseEvent> responseQueue, java.io.File remoteFile, boolean normalized)
(java.io.File, boolean)
void createPlaypen(EventQueue<ResponseEvent> responseQueue, int size)
Gum.createPlaypen(int)
void createStorageDirectory(EventQueue<ResponseEvent> responseQueue)
Gum.createStorageDirectory()
void getStorageDirectory(EventQueue<ResponseEvent> responseQueue)
Gum.getStorageDirectory()
void getStatus(EventQueue<ResponseEvent> responseQueue)
Gum.getStatus()
void getRemoteFileDigest(EventQueue<ResponseEvent> responseQueue, java.io.File remoteFile)
Gum.getRemoteFileDigest(File)
void startReplica(EventQueue<ResponseEvent> responseQueue)
Gum.startReplica()
void stopReplica(EventQueue<ResponseEvent> responseQueue)
Gum.stopReplica()
GumID getID()
GumSpec getGumSpec()
GumSpec
cached in the peer
GumSpec
cached in the peerEventQueue<ShutdownResponseEvent> stop()
void start()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |