demo.repair
Class RepairDirectoryTest.CreateReplicaResp

java.lang.Object
  |
  +--demo.repair.RepairDirectoryTest.CreateReplicaResp
All Implemented Interfaces:
QueueElementIF
Enclosing class:
RepairDirectoryTest

public static class RepairDirectoryTest.CreateReplicaResp
extends Object
implements QueueElementIF

CreateReplicaResp is a response confirming that replicas have been disseminated to a set of storage servers.


Field Summary
 Object userData
           
 
Constructor Summary
RepairDirectoryTest.CreateReplicaResp(SecureHash objguid, DDThresholdTag ttag, int numAcks, Object userData)
          Construct according to the given fields.
 
Method Summary
 int getNumAcks()
          getNumAcks returns the number of replicas that were confirmed disseminated.
 SecureHash getObjguid()
          getObjguid returns the guid of the originally requested obj specified in the CreateReplicaResp.
 DDThresholdTag getTag()
          getTag returns the DDThresholdTag associated with the objguid.
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

userData

public Object userData
Constructor Detail

RepairDirectoryTest.CreateReplicaResp

public RepairDirectoryTest.CreateReplicaResp(SecureHash objguid,
                                             DDThresholdTag ttag,
                                             int numAcks,
                                             Object userData)
Construct according to the given fields.

Method Detail

getObjguid

public final SecureHash getObjguid()
getObjguid returns the guid of the originally requested obj specified in the CreateReplicaResp.

Returns:
the guid specified in the CreateReplicaResp.

getTag

public final DDThresholdTag getTag()
getTag returns the DDThresholdTag associated with the objguid.

Returns:
the DDThresholdTag associated to the objguid.

getNumAcks

public final int getNumAcks()
getNumAcks returns the number of replicas that were confirmed disseminated.

Returns:
the number of replicas that were confirmed disseminated.

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class Object