org.ourgrid.mygrid.replicaexecutor
Interface ReplicaExecutor

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
FakeReplicaExecutorThread, ReplicaExecutorThread

public interface ReplicaExecutor
extends java.lang.Runnable

Description: This interfaces defines a Runnable that knows how to execute a Replica

Version:
1.0 Created on 12/07/2004

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
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

cancelReplica

void cancelReplica()
Tries to cancel the replica associated with this thread


abortReplica

void abortReplica()
Tries to abort the replica associated with this thread


getReplica

ReplicaEntry getReplica()
Gets the replica associated with this thread

Returns:
The replica associated with this thread