|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.archive.events.GenerateFragsChkptReq
GenerateFragsChkptReq is an event class that generates
Fragments for a version of an
object or
checkpoints the version.
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,
GenerateFragsChkptReq,
Fragment,
Erasure| Field Summary | |
|---|---|
int |
erasureType
erasureType == code for the type of erasure code to use. |
HandleStore |
handleStore
HandleStore of VerifiableBlocks
to Fragment. |
int |
inverseRate
inverseRate == rate of encoding. |
int |
numFragments
numFragments == number of fragments generated for block. |
CacheableIdentity |
thisRootBlock
thisRootBlock == CacheableIdentity of root block. |
| Constructor Summary | |
|---|---|
GenerateFragsChkptReq()
Constructor: Initializes instance variables to null. |
|
GenerateFragsChkptReq(CacheableIdentity rootBlock,
int numFrags,
int inverseR,
int erasureT)
Constructor. |
|
GenerateFragsChkptReq(CacheableIdentity rootBlock,
int numFrags,
int inverseR,
int erasureT,
HandleStore store)
Constructor. |
|
GenerateFragsChkptReq(InputBuffer buffer)
Constructs a GenerateFragsChkptReq from its
serialized form. |
|
| Method Summary | |
|---|---|
HandleStore |
getHandleStore()
getHandleStore returns the
HandleStore of
VerifiableBlocks to Fragment. |
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable |
void |
setHandleStore(HandleStore store)
setHandleStore sets the
HandleStore belonging to the
VerifiableBlocks to Fragment. |
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 int numFragments
public int inverseRate
public int erasureType
public HandleStore handleStore
HandleStore of VerifiableBlocks
to Fragment.
| Constructor Detail |
public GenerateFragsChkptReq()
public GenerateFragsChkptReq(CacheableIdentity rootBlock,
int numFrags,
int inverseR,
int erasureT)
rootBlock - = cacheable identity of root block.numFrags - = number of fragments generated for block.inverseR - = rate of encoding.erasureT - = code for the type of erasure code to use.
public GenerateFragsChkptReq(CacheableIdentity rootBlock,
int numFrags,
int inverseR,
int erasureT,
HandleStore store)
rootBlock - cacheable identity of root block.numFrags - number of fragments generated for block.inverseR - rate of encoding.erasureT - code for the type of erasure code to use.store - sets the HandleStore
belonging to the
VerifiableBlocks to
Fragment.
public GenerateFragsChkptReq(InputBuffer buffer)
throws QSException
GenerateFragsChkptReq from its
serialized form.
buffer - serialized
form of object.| Method Detail |
public HandleStore getHandleStore()
getHandleStore returns the
HandleStore of
VerifiableBlocks to Fragment.
HandleStore of
VerifiableBlocks to Fragment.public void setHandleStore(HandleStore store)
setHandleStore sets the
HandleStore belonging to the
VerifiableBlocks to Fragment.
store - the HandleStore belonging to the
VerifiableBlocks to
Fragment.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 | ||||||||||