|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dd.api.DDRouteMsg | +--ostore.replica.RemoteReplicaUpdateReq
A message sent by the ReplicaStage to a the ReplicaStage of a remote node. This message requests that the remote replica apply the tentative update (assuming it maintains a replica of the objects we wish to apply this to) and returns a response to the original sender (the client) about whether it succeeded or failed.
Eventually we may also want the remote replica to perform some other actions, such as resubmitting the update to the InnerRing if it does not receive an official response in X amount of time, etc.
Field Summary |
---|
Fields inherited from class dd.api.DDRouteMsg |
---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
Constructor Summary | |
---|---|
RemoteReplicaUpdateReq(InputBuffer buffer)
Deserialize from buffer. |
|
RemoteReplicaUpdateReq(SecureHash peer,
ReplicaUpdateReq req,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
|
Method Summary | |
---|---|
ReplicaUpdateReq |
req()
Get the signed Update. |
void |
serialize(OutputBuffer buffer)
Serialize to buffer. |
String |
toString()
String representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RemoteReplicaUpdateReq(SecureHash peer, ReplicaUpdateReq req, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
peer
- the remote node we want to send this toreq
- the update to perform signed by the original
client sender.public RemoteReplicaUpdateReq(InputBuffer buffer) throws QSException
Method Detail |
public final ReplicaUpdateReq req()
public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
serialize
in class DDRouteMsg
buffer
- the output buffer to add the object topublic String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |