|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.zib.scalaris.ResultList
de.zib.scalaris.TransactionSingleOp.ResultList
public static class TransactionSingleOp.ResultList
Encapsulates a list of results as returned by
TransactionSingleOp.req_list(RequestList)
.
Method Summary | |
---|---|
void |
processAddDelOnListAt(int pos)
Processes the result at the given position which originated from a add_del_on_list request. |
void |
processAddOnNrAt(int pos)
Processes the result at the given position which originated from an add_on_nr request. |
void |
processTestAndSetAt(int pos)
Processes the result at the given position which originated from a test_and_set request. |
void |
processWriteAt(int pos)
Processes the result at the given position which originated from a write request. |
Methods inherited from class de.zib.scalaris.ResultList |
---|
get, processReadAt, size, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void processWriteAt(int pos) throws AbortException, UnknownException
processWriteAt
in class ResultList
pos
- the position in the result list (starting at 0)
AbortException
- if the commit of the write failed
UnknownException
- if any other error occurspublic void processAddDelOnListAt(int pos) throws NotAListException, AbortException, UnknownException
processAddDelOnListAt
in class ResultList
pos
- the position in the result list (starting at 0)
NotAListException
- if the previously stored value was no list
AbortException
- if the commit of the write failed
UnknownException
- if any other error occurspublic void processAddOnNrAt(int pos) throws NotANumberException, AbortException, UnknownException
processAddOnNrAt
in class ResultList
pos
- the position in the result list (starting at 0)
NotANumberException
- if the previously stored value was not a number
AbortException
- if the commit of the write failed
UnknownException
- if any other error occurspublic void processTestAndSetAt(int pos) throws NotFoundException, KeyChangedException, AbortException, UnknownException
processTestAndSetAt
in class ResultList
pos
- the position in the result list (starting at 0)
NotFoundException
- if the requested key does not exist
KeyChangedException
- if the key did not match old_value
AbortException
- if the commit of the write failed
UnknownException
- if any other error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |