|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.mygrid.replicaexecutor.ReplicaExecutorThread
public class ReplicaExecutorThread
Description: This class is in charge of executing a replica.
Constructor Summary | |
---|---|
ReplicaExecutorThread(java.lang.String threadName,
ReplicaEntry replica,
GumClient gumClient,
EBReplicaExecutorFacade ebReplicaExecutorFacade)
Main constructor |
Method Summary | |
---|---|
void |
abortReplica()
Tries to abort the replica associated with this thread. |
void |
cancelReplica()
Tries to cancel the replica associated with this thread |
java.lang.String |
getName()
Gets the name of this thread |
ReplicaEntry |
getReplica()
Status Gets the replica associated with this thread |
ReplicaExecutorResult |
getReplicaExecutorResult()
Gets the replica's execution result |
ExecutionStatus |
getReplicaState()
Gets the state of the replica associated with this thread |
ExecutionStatus |
getStatus()
Gets this thread's execution state |
void |
run()
Tries to execute the replica |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplicaExecutorThread(java.lang.String threadName, ReplicaEntry replica, GumClient gumClient, EBReplicaExecutorFacade ebReplicaExecutorFacade)
threadName
- This thread's namereplica
- The replica to be executedgumClient
- The grid machine where the replica will be executedebReplicaExecutorFacade
- The EBReplicaExecutorFacade
objectMethod Detail |
---|
public void cancelReplica()
cancelReplica
in interface ReplicaExecutor
public void abortReplica()
abortReplica
in interface ReplicaExecutor
public ReplicaEntry getReplica()
getReplica
in interface ReplicaExecutor
public java.lang.String getName()
public ExecutionStatus getReplicaState()
public ExecutionStatus getStatus()
public ReplicaExecutorResult getReplicaExecutorResult()
ReplicaExecutorResult
object that represents the
result of the replica executionpublic void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |