|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.archive.events.UpdateVerifiableBlocksReq
UpdateVerifiableBlocksReq is an event class that request
that a version of an
object or be updated with
FHASH's or the top of the VHashTree for
each modified block.
The required field are
thisRootBlock (CacheableIdentity of root
block),
numFragments (number of
Fragments generated for
block),
inverseRate (inverse rate of
encoding),
erasureType (code for the
type of erasure code to use).
NOTE: for copy-on-write only the blocks with null GUID's will be fragmented (archived).
GenerateFragsChkptResp,
UpdateVerifiableBlocksReq,
Fragment,
Erasure| Field Summary | |
|---|---|
SecureHash |
_vguid
vguid is the resulting guid for fragmentation of checkpoint. |
| Constructor Summary | |
|---|---|
UpdateVerifiableBlocksReq()
Constructor: Initializes instance variables to null. |
|
UpdateVerifiableBlocksReq(InputBuffer buffer)
Constructs a UpdateVerifiableBlocksReq from its
serialized form. |
|
UpdateVerifiableBlocksReq(VID topBlockId,
SecureHash vguid,
SecureHash aguid,
Map blockIdentifiers)
Constructor. |
|
| Method Summary | |
|---|---|
SecureHash |
getAguid()
getAguid returns the A-GUID of the
object. |
SortedMap |
getBlockIds()
getBlockIds returns a VHASH->FHASH
Map containing the blockIds(vhashes) that make up the
slice of the of modified and Fragmented
blocks of an
object. |
VID |
getTopBlockId()
getTopBlockId returns the VID of root
block. |
SecureHash |
getVguid()
getVguid returns the V-GUID (i.e. version GUID)of the
object. |
void |
serialize(OutputBuffer buffer)
Specified by 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 SecureHash _vguid
| Constructor Detail |
public UpdateVerifiableBlocksReq()
public UpdateVerifiableBlocksReq(VID topBlockId,
SecureHash vguid,
SecureHash aguid,
Map blockIdentifiers)
topBlockId - VID of the top block.vguid - V-GUID of DataObjectaguid - A-GUID of DataObjectblockIdentifiers - A VHASH->FHASH
Map containing the
blockIds(vhashes) that make up the slice of
the of modified and
Fragmented
blocks
of an object.
public UpdateVerifiableBlocksReq(InputBuffer buffer)
throws QSException
UpdateVerifiableBlocksReq from its
serialized form.
buffer - serialized
form of object.| Method Detail |
public VID getTopBlockId()
getTopBlockId returns the VID of root
block.
VID of root block.public SecureHash getVguid()
getVguid returns the V-GUID (i.e. version GUID)of the
object.
object.public SecureHash getAguid()
getAguid returns the A-GUID of the
object.
object.public SortedMap getBlockIds()
getBlockIds returns a VHASH->FHASH
Map containing the blockIds(vhashes) that make up the
slice of the of modified and Fragmented
blocks of an
object.
VHASH->FHASH Map containing the
blockIds(vhashes) that make up the slice of the of modified and
Fragmented
blocks of an
object.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 | ||||||||||