|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.replica.ReplicaQuery
The DD query sent to find object replicas.
Constructor Summary | |
---|---|
ReplicaQuery()
Creates a new ReplicaQuery . |
|
ReplicaQuery(InputBuffer buffer)
Constructs a ReplicaQuery from its
serialize d form. |
|
ReplicaQuery(QSInt max_depth,
Double max_distance)
Creates a new ReplicaQuery with an upper bound on
the depth of replicas in the tree. |
Method Summary | |
---|---|
DDQueryResult |
query(SecureHash node_guid,
bamboo.vivaldi.VirtualCoordinate node_coordinates,
SecureHash bp_guid,
HostInfo bp_hinfo,
DDTag tag,
DDQueryState state)
|
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
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 ReplicaQuery()
ReplicaQuery
.
public ReplicaQuery(QSInt max_depth, Double max_distance)
ReplicaQuery
with an upper bound on
the depth of replicas in the tree.
public ReplicaQuery(InputBuffer buffer) throws QSException
ReplicaQuery
from its
serialize
d form.
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object topublic DDQueryResult query(SecureHash node_guid, bamboo.vivaldi.VirtualCoordinate node_coordinates, SecureHash bp_guid, HostInfo bp_hinfo, DDTag tag, DDQueryState state)
query
in interface DDQuery
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |