|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.replica.ReplicaResp | +--ostore.replica.ReplicaUpdateResp
Events sent from the ReplicaStage
to the
ClientStage
responding to ReplicaUpdateReq
events.
WARNING: The local request digest returned by
get_req_digest
may not equal the remote request digest
returned by get_update_resp().update_digest()
. Use the
local one.
Field Summary | |
---|---|
protected UpdateResp |
update_resp
The result of the update |
Fields inherited from class ostore.replica.ReplicaResp |
---|
digest, error_code, local, NO_ERROR, NOT_OPEN, OBJECT_NOT_FOUND, READ_ERROR, req_digest, target, VERSION_PREDICATE_NOT_SATISFIED |
Constructor Summary | |
---|---|
ReplicaUpdateResp(InputBuffer buffer)
Constructs a ReplicaUpdateResp from its
serialize d form. |
|
ReplicaUpdateResp(ReplicaUpdateReq req,
UpdateResp update_resp)
Constructs a new (successful) ReplicaUpdateResp . |
Method Summary | |
---|---|
UpdateResp |
get_update_resp()
Returns the result of the update. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
String |
toString()
Returns a human-readable representation of this ReplicaUpdateResp . |
Methods inherited from class ostore.replica.ReplicaResp |
---|
get_digest, get_error_code, get_req_digest, get_target, hashCode, is_local, successful |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected UpdateResp update_resp
Constructor Detail |
public ReplicaUpdateResp(ReplicaUpdateReq req, UpdateResp update_resp)
ReplicaUpdateResp
.
public ReplicaUpdateResp(InputBuffer buffer) throws QSException
ReplicaUpdateResp
from its
serialize
d form.
Method Detail |
public UpdateResp get_update_resp()
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
serialize
in class ReplicaResp
buffer
- the output buffer to add the object topublic String toString()
ReplicaUpdateResp
.
toString
in class ReplicaResp
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |