|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dd.api.DDRouteMsg | +--ostore.archive.GenerateFragsRespMsg
GenerateFragsRespMsg
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
,
GenerateFragsRespMsg
,
Fragment
,
Erasure
Field Summary |
---|
Fields inherited from class dd.api.DDRouteMsg |
---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
Constructor Summary | |
---|---|
GenerateFragsRespMsg()
Constructor: Initializes instance variables to null. |
|
GenerateFragsRespMsg(InputBuffer buffer)
Constructs a GenerateFragsRespMsg from its
serialized form. |
|
GenerateFragsRespMsg(SecureHash requestorGuid,
GenerateFragsChkptResp resp,
SecureHash identifier,
SecureHash aguid,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
Constructor. |
Method Summary | |
---|---|
SecureHash |
getAguid()
getAguid returns the A-GUID of the
object . |
SecureHash |
getIdentifier()
getIdentifier returns the unique id of node (i.e. nodeGuid)
or app (e.g. |
GenerateFragsChkptResp |
getResp()
getResp returns the
GenerateFragsChkptResp |
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 GenerateFragsRespMsg()
public GenerateFragsRespMsg(SecureHash requestorGuid, GenerateFragsChkptResp resp, SecureHash identifier, SecureHash aguid, boolean recursive, boolean dd_intermediate_upcall, boolean one_hop)
requestorGuid
- The requestors GUID.resp
- GenerateFragsChkptRespidentifier
- unique id of node (i.e. nodeGuid) or app
(e.g. SHA1Hash(AppId + nodeGuid) requesting
service from the ArchiverStage.aguid
- A-GUID of object
.public GenerateFragsRespMsg(InputBuffer buffer) throws QSException
GenerateFragsRespMsg
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public GenerateFragsChkptResp getResp()
getResp
returns the
GenerateFragsChkptResp
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 void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
serialize
in class DDRouteMsg
buffer
- 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 |