|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dd.api.DDRouteMsg | +--demo.repair.RepairDirectoryTest2.RepairReq
RepairReq
is request sent to all remaining nodes
to send back their lifetime. The node with the highest lifetime
becomes the repair process leader;
that is, node responsible for coordinating the repair of an object
replicated on a set of nodes.
Field Summary |
---|
Fields inherited from class dd.api.DDRouteMsg |
---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
Constructor Summary | |
---|---|
RepairDirectoryTest2.RepairReq(InputBuffer buffer)
Constructs a RepairReq from its
serialized form. |
|
RepairDirectoryTest2.RepairReq(SecureHash peer,
long lifetime,
SecureHash objguid,
DDThresholdTag ttag,
boolean recursive_route,
boolean dd_intermediate_upcall,
boolean one_hop)
Construct according to the given fields. |
Method Summary | |
---|---|
long |
getLifetime()
getLifetime returns the lifetime of the node
(in us). |
SecureHash |
getObjguid()
getObjguid returns the guid of the originally requested
obj specified in the RepairReq. |
DDThresholdTag |
getTag()
getTag returns the
DDThresholdTag associated with the
objguid . |
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable |
String |
toString()
Specified by java.lang.Object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RepairDirectoryTest2.RepairReq(SecureHash peer, long lifetime, SecureHash objguid, DDThresholdTag ttag, boolean recursive_route, boolean dd_intermediate_upcall, boolean one_hop)
public RepairDirectoryTest2.RepairReq(InputBuffer buffer) throws QSException
RepairReq
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public final long getLifetime()
getLifetime
returns the lifetime of the node
(in us).
public final SecureHash getObjguid()
getObjguid
returns the guid of the originally requested
obj specified in the RepairReq.
public final DDThresholdTag getTag()
getTag
returns the
DDThresholdTag
associated with the
objguid
.
DDThresholdTag
associated to the objguid
.public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
serialize
in class DDRouteMsg
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |