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.
userData
public Object userData
RepairDirectoryTest.CreateReplicaResp
public RepairDirectoryTest.CreateReplicaResp(SecureHash objguid,
DDThresholdTag ttag,
int numAcks,
Object userData)
- Construct according to the given fields.
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