ostore.inner
Class UpdateResp
java.lang.Object
|
+--ostore.inner.UpdateResp
- All Implemented Interfaces:
- QuickSerializable
- public class UpdateResp
- extends Object
- implements QuickSerializable
timestamp
public QSDate timestamp
UpdateResp
public UpdateResp(SecureHash digest,
int action_num,
SecureHash action_digest,
GuidVersionMap pre_map,
SortedMap hbs,
QSDate ts)
UpdateResp
public UpdateResp(SecureHash digest,
QSDate ts)
UpdateResp
public UpdateResp(InputBuffer buffer)
throws QSException
toString
public String toString()
- Overrides:
toString
in class Object
action_digest
public SecureHash action_digest()
update_digest
public SecureHash update_digest()
success
public boolean success()
action_num
public int action_num()
throws UpdateResp.UnsuccessfulException
UpdateResp.UnsuccessfulException
heartbeats
public SortedMap heartbeats()
throws UpdateResp.UnsuccessfulException
- Maps AGUIDs of changed files (represented as
SecureHash
's) to their new Heartbeat
's as
a result of the update.
UpdateResp.UnsuccessfulException
pre_map
public GuidVersionMap pre_map()
- Returns the AGUID->SecureHash map for objects accessed by the update.
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to