|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.archive.events.QueryReq
QueryReq is an event class that request that an A-GUID
guid be resovled to a version guid (V-GUID). That is,
V-GUID <- query(A-GUID).
The required field are
a_guid (Archive GUID),
timestamp (commit time of version requested.
should be set to -1 if looking for most recent),
version (commit time of version requested.
should be set to -1 if looking for most recent).
QueryResp| Field Summary | |
|---|---|
SecureHash |
a_guid
a_guid == Archive GUID. |
long |
timestamp
timestamp == commit time of version requested. |
long |
version
version == commit time of version requested. |
| Constructor Summary | |
|---|---|
QueryReq()
Constructor: Initializes instance variables to null. |
|
QueryReq(InputBuffer buffer)
Constructs a QueryReq from its
serialized form. |
|
| Method Summary | |
|---|---|
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 |
| Field Detail |
public SecureHash a_guid
public long version
public long timestamp
| Constructor Detail |
public QueryReq()
public QueryReq(InputBuffer buffer)
throws QSException
QueryReq from its
serialized form.
buffer - serialized
form of object.| Method Detail |
public void serialize(OutputBuffer buffer)
serialize in interface QuickSerializablebuffer - the output buffer to add the object topublic String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||