|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.mygrid.replicaexecutor.test.FakeReplicaExecutorThread
public class FakeReplicaExecutorThread
Description: a fake class to be used by unit tests
Constructor Summary | |
---|---|
FakeReplicaExecutorThread(ReplicaEntry replica,
EBReplicaExecutorFacade ebReplicaExecutorFacade)
|
Method Summary | |
---|---|
void |
abortReplica()
Tries to abort the replica associated with this thread |
void |
cancelReplica()
Tries to cancel the replica associated with this thread |
ReplicaEntry |
getReplica()
Gets the replica associated with this thread |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FakeReplicaExecutorThread(ReplicaEntry replica, EBReplicaExecutorFacade ebReplicaExecutorFacade)
Method Detail |
---|
public void cancelReplica()
ReplicaExecutor
cancelReplica
in interface ReplicaExecutor
public void abortReplica()
ReplicaExecutor
abortReplica
in interface ReplicaExecutor
public ReplicaEntry getReplica()
ReplicaExecutor
getReplica
in interface ReplicaExecutor
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |