|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ostore.replica.ReplicaResp
|
+--ostore.read.ReplicaReadResp
|
+--ostore.read.ReplicaMetadataReadResp
Events sent from the ReplicaStage to the
ClientStage responding to ReplicaMetadataReadReq
events.
| Field Summary | |
|---|---|
protected Metadata |
metadata
The metadata from a version of the specified Replica,
or null.
|
| Fields inherited from class ostore.read.ReplicaReadResp |
|---|
missing, read, version |
| Fields inherited from class ostore.replica.ReplicaResp |
|---|
digest, error_code, local, NO_ERROR, NOT_OPEN, OBJECT_NOT_FOUND, READ_ERROR, req_digest, target, VERSION_PREDICATE_NOT_SATISFIED |
| Constructor Summary | |
|---|---|
ReplicaMetadataReadResp(InputBuffer buffer)
Constructs a ReplicaMetadataReadResp from its
serialized form. |
|
ReplicaMetadataReadResp(ReplicaReadReq req,
int error_code)
Constructs a new (failed) ReplicaMetadataReadResp. |
|
ReplicaMetadataReadResp(ReplicaReadReq req,
VID version,
Metadata metadata)
Constructs a new (successful) ReplicaMetadataReadResp. |
|
| Method Summary | |
|---|---|
Metadata |
get_metadata()
Returns the Metadata from a version of the specified
replica, or null. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer. |
| Methods inherited from class ostore.read.ReplicaReadResp |
|---|
get_missing, get_read, get_version, toString |
| Methods inherited from class ostore.replica.ReplicaResp |
|---|
get_digest, get_error_code, get_req_digest, get_target, hashCode, is_local, successful |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Metadata metadata
Replica,
or null.
metadata != null iff this.successful().
| Constructor Detail |
public ReplicaMetadataReadResp(ReplicaReadReq req,
VID version,
Metadata metadata)
ReplicaMetadataReadResp.
public ReplicaMetadataReadResp(ReplicaReadReq req,
int error_code)
ReplicaMetadataReadResp.
public ReplicaMetadataReadResp(InputBuffer buffer)
throws QSException
ReplicaMetadataReadResp from its
serialized form.
| Method Detail |
public Metadata get_metadata()
Metadata from a version of the specified
replica, or null.
public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializableserialize in class ReplicaReadRespbuffer - the output buffer to add the object to
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||