|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--dd.api.DDRouteMsg
|
+--ostore.archive.dissemination.DisseminateFragMsg
The DisseminateFragMsg is a request of type
DDRouteMsg dispatched
by the DisseminatorStage to request that a
StorageServer store the given
Disseminatable.
To actually disseminate, dispatch a
DisseminateFragsReq. The
DisseminatorStage will then dispatch a
DisseminateFragMsg to each member of the
dissemination set. The process is done when
enough DisseminateFragAckMsg are received to consider
the dissemination effective.
DisseminateFragAckMsg,
DisseminatorStage,
ArchivalStorageStage,
DisseminateFragsReq,
DisseminateFragsResp,
Disseminatable,
Fragment,
DDRouteMsg| Nested Class Summary | |
|---|---|
static class |
DisseminateFragMsg.Local
A simple class to store DisseminateFragMsg requests to send to another local stage. |
| Field Summary | |
|---|---|
SecureHash |
aguid
aguid is the guid that matches the object that the disseminatables belong. |
SortedMap |
disseminatables
A guid->
map containing the disseminatables
that make up the DisseminateFragMsg.
|
int |
index
index of disseminatables. |
SecureHash |
vguid
vguid is the guid that matches the version that the disseminatables belong. |
| Fields inherited from class dd.api.DDRouteMsg |
|---|
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL |
| Constructor Summary | |
|---|---|
DisseminateFragMsg(InputBuffer buffer)
Constructs a DisseminateFragMsg from its
serialized form. |
|
DisseminateFragMsg(SecureHash dest,
SecureHash aguid,
SecureHash vguid,
int index,
Map disseminatables,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
Construct according to the given fields. |
|
| Method Summary | |
|---|---|
SecureHash |
getAguid()
getAguid returns the aguid that matches the object that the dissemintables belong. |
Map |
getDisseminatables()
getDisseminatables returns the
guid->disseminatable
map containing the disseminatables
that make up an archived object version. |
int |
getIndex()
getIndex returns the index of disseminatable being acknowledged. |
SecureHash |
getVguid()
getVguid returns the vguid that matches the version that the dissemintables belong. |
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerialize |
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 aguid
public SecureHash vguid
public int index
public SortedMap disseminatables
guid->disseminatable
map containing the disseminatables
that make up the DisseminateFragMsg.
The map is kept sorted, to ensure a deterministic serialization.
| Constructor Detail |
public DisseminateFragMsg(SecureHash dest,
SecureHash aguid,
SecureHash vguid,
int index,
Map disseminatables,
boolean recursive,
boolean dd_intermediate_upcall,
boolean one_hop)
public DisseminateFragMsg(InputBuffer buffer)
throws QSException
DisseminateFragMsg from its
serialized form.
buffer - serialized
form of object.| Method Detail |
public final SecureHash getAguid()
public final SecureHash getVguid()
public final int getIndex()
public Map getDisseminatables()
getDisseminatables returns the
guid->disseminatable
map containing the disseminatables
that make up an archived object version.
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 | ||||||||||