|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.archive.events.ReconstructBlkResp
ReconstructBlkResp is an event class that responds to a
ReconstructBlkReq once the
block has been
recoalesced.
The required field are
blockId (GUID of block
to recoalesce),
srcId (ID of stage that produced the response).
RecoalesceBlkReq,
ReconstructBlkReq,
RequestorStage,
RecoalesceBlkStage| Field Summary | |
|---|---|
CacheableIdentity |
blockId
blockId == GUID of block recoalesced. |
Object |
userData
Requestor defined object placed in the request and returned
in the ReconstructBlkResp. |
| Constructor Summary | |
|---|---|
ReconstructBlkResp()
Constructor: Initializes instance variables to null. |
|
ReconstructBlkResp(CacheableIdentity newBlockId,
CacheablePinned handle,
Object userData)
Constructor. |
|
ReconstructBlkResp(InputBuffer buffer)
Constructs a ReconstructBlkResp from its
serialized form. |
|
| Method Summary | |
|---|---|
CacheablePinned |
getHandle()
getHandle returns the
handle associated with
the blockId. |
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable |
void |
setHandle(CacheablePinned handle)
setHandle sets the
handle associated with
the blockId. |
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 blockId
public Object userData
request and returned
in the ReconstructBlkResp.
| Constructor Detail |
public ReconstructBlkResp()
public ReconstructBlkResp(CacheableIdentity newBlockId,
CacheablePinned handle,
Object userData)
newBlockId - resulting guid from fragmentation of block.handle - handle for new block.userData - Requestor defined object returned with response.
public ReconstructBlkResp(InputBuffer buffer)
throws QSException
ReconstructBlkResp from its
serialized form.
buffer - serialized
form of object.| Method Detail |
public CacheablePinned getHandle()
getHandle returns the
handle associated with
the blockId.
public void setHandle(CacheablePinned handle)
setHandle sets the
handle associated with
the blockId.
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 | ||||||||||