|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.archive.RequestFragQueryState
RequestFragQueryState
is a wrapper class for the state passed
along with the RequestFragQuery
DDQuery
used in a
RequestFragMsg
DDLocateMsg
used to find a Fragments
that can be
reconstructed into a block
.
To receive Fragments
, dispatch a
RequestFragMsg
that contains a guid
of the block
to be recoalesced.
RequestorStage
,
RecoalesceBlkStage
,
RequestFragMsg
,
RequestFragResponseMsg
,
DDLocateMsg
,
DDQueryState
,
DDQuery
Constructor Summary | |
---|---|
RequestFragQueryState(InputBuffer buffer)
Constructs a RequestFragQueryState from its
serialized form. |
|
RequestFragQueryState(int reqCardinality)
Creates a new RequestFragQueryState . |
Method Summary | |
---|---|
boolean |
add(Object o)
Adds the specified backpointer to this set if it is not already present. |
boolean |
contains(Object o)
Tests whether the set already contains the specified backpointer. |
int |
getCardinality()
getCardinality returns the number of back pointers pursued for a fragment or block. |
int |
getRequestedCardinality()
getRequestedCardinality returns the requested number of back pointers pursued for a fragment. |
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 RequestFragQueryState(int reqCardinality)
RequestFragQueryState
.
public RequestFragQueryState(InputBuffer buffer) throws QSException
RequestFragQueryState
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 boolean add(Object o)
o
- - backpointer to be added to this set.
public boolean contains(Object o)
o
- - backpointer to be tested against set.
public int getCardinality()
public int getRequestedCardinality()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |