|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--dd.api.DDRouteMsg
|
+--dd.api.DDMacRouteMsg
|
+--ostore.archive.GenerateFragsReqMsg
GenerateFragsReqMsg 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,
GenerateFragsReqMsg,
Fragment,
Erasure| Field Summary |
|---|
| Fields inherited from class dd.api.DDRouteMsg |
|---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
| Constructor Summary | |
|---|---|
GenerateFragsReqMsg()
Constructor: Initializes instance variables to null. |
|
GenerateFragsReqMsg(InputBuffer buffer)
Constructs a GenerateFragsReqMsg from its
serialized form. |
|
GenerateFragsReqMsg(SecureHash archiverGuid,
GenerateFragsChkptReq req,
SecureHash identifier,
SecureHash aguid,
Selection sel,
Map blocks,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
Constructor. |
|
| Method Summary | |
|---|---|
SecureHash |
getAguid()
getAguid returns the A-GUID of the
object. |
SortedMap |
getBlocks()
getBlocks returns the SortedMap that
contains the slice of the object. |
SecureHash |
getIdentifier()
getIdentifier returns the unique id of node (i.e. nodeGuid)
or app (e.g. |
GenerateFragsChkptReq |
getReq()
getReq returns the
GenerateFragsChkptReq |
Selection |
getSelection()
getSelection returns the portion of
DataObject to create Fragments
for. |
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 |
| Constructor Detail |
public GenerateFragsReqMsg()
public GenerateFragsReqMsg(SecureHash archiverGuid,
GenerateFragsChkptReq req,
SecureHash identifier,
SecureHash aguid,
Selection sel,
Map blocks,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
req - GenerateFragsChkptReqidentifier - unique id of node (i.e. nodeGuid) or app
(e.g. SHA1Hash(AppId + nodeGuid) requesting
service from the ArchiverStage.aguid - A-GUID of object.sel - portion of DataObject to create
Fragments for.blocks - Map that contains slice of a
object.
public GenerateFragsReqMsg(InputBuffer buffer)
throws QSException
GenerateFragsReqMsg from its
serialized form.
buffer - serialized
form of object.| Method Detail |
public GenerateFragsChkptReq getReq()
getReq returns the
GenerateFragsChkptReq
public SecureHash getIdentifier()
getIdentifier returns the unique id of node (i.e. nodeGuid)
or app (e.g. SHA1Hash(AppId + nodeGuid) requesting service from the
ArchiverStage.
public SecureHash getAguid()
getAguid returns the A-GUID of the
object.
object.public Selection getSelection()
getSelection returns the portion of
DataObject to create Fragments
for.
DataObject to create
Fragments for.public SortedMap getBlocks()
getBlocks returns the SortedMap that
contains the slice of the object.
object.public void serialize(OutputBuffer buffer)
serialize in interface QuickSerializableserialize in class DDRouteMsgbuffer - 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 | ||||||||||