|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ostore.replica.ReplicaReq
|
+--ostore.replica.ReplicaOpenReq
Events sent from the ClientStage to the
ReplicaStage requesting the latter to
create a local Replica.
| Field Summary | |
|---|---|
protected boolean |
internal
true iff this request was generated internally, rather
than by a client application.
|
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.replica.ReplicaReq |
|---|
digest, local, target |
| Constructor Summary | |
|---|---|
ReplicaOpenReq(InputBuffer buffer)
Constructs a ReplicaOpenReq from its
serialized form. |
|
ReplicaOpenReq(SecureHash target,
boolean publish)
Constructs a new ReplicaOpenReq. |
|
| 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 internally,
rather than by a client application. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer. |
| Methods inherited from class ostore.replica.ReplicaReq |
|---|
get_digest, get_seq_num, get_target, hashCode, is_local, toString |
| 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 internally, rather
than by a client application.
The ReplicaStage generates internal
ReplicaOpenReqs to help handle certain read requests.
| Constructor Detail |
public ReplicaOpenReq(SecureHash target,
boolean publish)
ReplicaOpenReq.
public ReplicaOpenReq(InputBuffer buffer)
throws QSException
ReplicaOpenReq 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 internally,
rather than by a client application.
public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializableserialize in class ReplicaReqbuffer - the output buffer to add the object to
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||