|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.archive.events.UpdateVerifiableBlocksResp
UpdateVerifiableBlocksResp 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,
UpdateVerifiableBlocksResp,
Fragment,
Erasure| Field Summary | |
|---|---|
SecureHash |
_vguid
vguid is the resulting guid for fragmentation of checkpoint. |
| Constructor Summary | |
|---|---|
UpdateVerifiableBlocksResp()
Constructor: Initializes instance variables to null. |
|
UpdateVerifiableBlocksResp(InputBuffer buffer)
Constructs a UpdateVerifiableBlocksResp from its
serialized form. |
|
UpdateVerifiableBlocksResp(VID topBlockId,
SecureHash vguid,
SecureHash aguid)
Constructor. |
|
| Method Summary | |
|---|---|
SecureHash |
getAguid()
getAguid returns the A-GUID of the
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 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 SecureHash _vguid
| Constructor Detail |
public UpdateVerifiableBlocksResp()
public UpdateVerifiableBlocksResp(VID topBlockId,
SecureHash vguid,
SecureHash aguid)
topBlockId - VID of the top block.vguid - V-GUID of DataObject.aguid - A-GUID of DataObject.
public UpdateVerifiableBlocksResp(InputBuffer buffer)
throws QSException
UpdateVerifiableBlocksResp 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 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 | ||||||||||