|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.archive.events.GenerateFragsChkptResp
GenerateFragsChkptResp is an event class that responds to a
GenerateFragsChkptReq with the
CacheableIdentity of the root block
that has been checkpointed
(i.e. fragments for a version of an object has been produced).
The required field are
thisRootBlock (CacheableIdentity of root
block),
vGuid (Resulting V-GUID for
checkpointing version.
GenerateFragsChkptReq,
GenerateFragsChkptReq,
Fragment,
Erasure| Field Summary | |
|---|---|
SortedMap |
blockIds
A VHASH->FHASH SortedMap containing the
blockIds(vhashes) that make up the slice of a
of modified and Fragmented
blocks
of an object, or null.
|
CacheableIdentity |
thisRootBlock
thisRootBlock == CacheableIdentity of root block. |
SecureHash |
vGuid
vGuid == Resulting guid for fragmentation of checkpoint. |
| Constructor Summary | |
|---|---|
GenerateFragsChkptResp()
Constructor: Initializes instance variables to null. |
|
GenerateFragsChkptResp(CacheableIdentity rootBlock,
SecureHash v_guid,
Map blockIdentifiers)
Constructor. |
|
GenerateFragsChkptResp(InputBuffer buffer)
Constructs a GenerateFragsChkptResp from its
serialized form. |
|
| Method Summary | |
|---|---|
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 |
| Field Detail |
public CacheableIdentity thisRootBlock
public SecureHash vGuid
public SortedMap blockIds
VHASH->FHASH SortedMap containing the
blockIds(vhashes) that make up the slice of a
of modified and Fragmented
blocks
of an object, or null.
The hashCode of responses depend on their digest.
Therefore we keep this map sorted, to ensure a deterministic
serialization.
| Constructor Detail |
public GenerateFragsChkptResp()
public GenerateFragsChkptResp(CacheableIdentity rootBlock,
SecureHash v_guid,
Map blockIdentifiers)
rootBlock - cacheable identity of root block.v_guid - resulting guid fro fragmentation of checkpoint.blockIdentifiers - A VHASH->FHASH
Map containing the
blockIds(vhashes) that make up the slice of
the of modified and
Fragmented
blocks
of an object,
or null.
public GenerateFragsChkptResp(InputBuffer buffer)
throws QSException
GenerateFragsChkptResp from its
serialized form.
buffer - serialized
form of object.| Method Detail |
public void serialize(OutputBuffer buffer)
serialize in interface QuickSerializablebuffer - 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 | ||||||||||