|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ostore.dtree.DTreeReq
|
+--ostore.dtree.JoinTreeReq
Messages instructing the local DTreeNode to tie into a
dissemination tree.
| Field Summary | |
|---|---|
protected boolean |
internal
true iff this request was generated by the
DTreeNode, rather than by the ReplicaStage. |
protected boolean |
publish
true iff the local server wishes to publish itself as
an available secondary replica in the tree. |
| Fields inherited from class ostore.dtree.DTreeReq |
|---|
digest, tree_id |
| Constructor Summary | |
|---|---|
JoinTreeReq(InputBuffer buffer)
Constructs a JoinTreeReq from its
serialized form. |
|
JoinTreeReq(SecureHash tree_id,
boolean publish)
Creates a new request for the specified tree. |
|
| Method Summary | |
|---|---|
boolean |
get_publish_flag()
Returns true iff the local server wishes to publish
itself as an available secondary replica in the tree. |
boolean |
is_internal()
Returns true iff this request was generated by the
DTreeNode, rather than by the ReplicaStage. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer. |
String |
toString()
Returns a human-readable representation of this JoinTreeReq. |
| Methods inherited from class ostore.dtree.DTreeReq |
|---|
get_digest, get_seq_num, get_tree_id, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected boolean publish
true iff the local server wishes to publish itself as
an available secondary replica in the tree. This flag should be
false for client machines which only want to be leaves
on the tree.
protected boolean internal
true iff this request was generated by the
DTreeNode, rather than by the ReplicaStage.
| Constructor Detail |
public JoinTreeReq(SecureHash tree_id,
boolean publish)
tree_id - the A-GUID for the tree's data object.publish - true iff this server should advertise
as a secondary replica in Tapestry.
public JoinTreeReq(InputBuffer buffer)
throws QSException
JoinTreeReq from its
serialized form.
| Method Detail |
public boolean get_publish_flag()
true iff the local server wishes to publish
itself as an available secondary replica in the tree.
public boolean is_internal()
true iff this request was generated by the
DTreeNode, rather than by the ReplicaStage.
public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializableserialize in class DTreeReqbuffer - the output buffer to add the object topublic String toString()
JoinTreeReq.
toString in class DTreeReq
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||