|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--ostore.client.OSResult
|
+--ostore.client.OSUpdateResult
The OSUpdateResult reports the outcome of an
OSUpdate. The ClientStage
constructs an OSUpdateResult by translating
OceanStore's internal result.
OSUpdate| Field Summary |
|---|
| Fields inherited from class ostore.client.OSResult |
|---|
app_id |
| Constructor Summary | |
|---|---|
OSUpdateResult(InputBuffer buffer)
|
|
| Method Summary | |
|---|---|
boolean |
getCommit()
Returns an indication of whether the update committed or aborted. |
Map |
getHeartbeatMap()
|
int |
getTupleNumber()
Returns the number of the tuple that was executed. |
Map |
getVersionIdMap()
Returns a mapping from Aguids to version identifiers for all data objects changed by the update. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer. |
String |
toString()
Returns a string representation of the OSUpdateResult. |
| Methods inherited from class ostore.client.OSResult |
|---|
getAppId, getReqSeqNum, getUserTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OSUpdateResult(InputBuffer buffer)
throws QSException
| Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializableserialize in class OSResultbuffer - the output buffer to add the object topublic boolean getCommit()
true if the corresponding update commited;
false otherwisepublic int getTupleNumber()
public Map getHeartbeatMap()
public Map getVersionIdMap()
public String toString()
OSUpdateResult.
toString in class ObjectOSUpdateResult.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||