|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.archive.events.BucketsToDisseminateEvent
BucketsToDisseminateEvent
is an event class that
contains all the GUID's uniquely modified
blocks
that the
GenerateChkptStage
created.
.
When the checkpointing process is done, all
uniquely modified
blocks
have been
Erasure
encoded into n
Fragments
and
a BucketsToDisseminateEvent
containing
the resulting GUID's of all the uniquely modified
blocks
has been
dispatch
ed.
DisseminatorStage
,
GenerateChkptStage
Field Summary | |
---|---|
SecureHash |
aguid
aguid is the active guid. |
Map |
bucketGuidSet
bucketGuidSet is the set of all dissemination bucket guids of modified blocks for vguid. |
Map |
bucketMap
bucketMap is the set of all DisseminatableBuckets
associated with the
guids of modified blocks for vguid. |
SecureHash |
vguid
vguid is the version guid. |
Constructor Summary | |
---|---|
BucketsToDisseminateEvent()
Constructor: Initializes instance variables to null. |
|
BucketsToDisseminateEvent(InputBuffer buffer)
Constructs a BucketsToDisseminateEvent from its
serialized form. |
|
BucketsToDisseminateEvent(SecureHash activeGuid,
SecureHash versionGuid,
Map guidSet,
Map dbMap)
Constructor. |
Method Summary | |
---|---|
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 aguid
public SecureHash vguid
public Map bucketGuidSet
public Map bucketMap
DisseminatableBuckets
associated with the
guids of modified blocks for vguid.
Constructor Detail |
public BucketsToDisseminateEvent()
public BucketsToDisseminateEvent(SecureHash activeGuid, SecureHash versionGuid, Map guidSet, Map dbMap)
activeGuid
- = active guid of object.versionGuid
- = active guid of object.guidSet
- = set of dissemination bucket guids.public BucketsToDisseminateEvent(InputBuffer buffer) throws QSException
BucketsToDisseminateEvent
from its
serialized
form.
buffer
- serialized
form of object.Method Detail |
public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
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 |