|
||||||||||
| 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.Transaction.ResultList
public static class Transaction.ResultList
Encapsulates a list of results as returned by
Transaction.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 |
processCommitAt(int pos)
Processes the result at the given position which originated from a commit request. |
void |
processTestAndSetAt(int pos)
Processes the result at the given position which originated from an add_on_nr 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 UnknownException
processWriteAt in class ResultListpos - the position in the result list (starting at 0)
UnknownException - if any other error occurs
public void processAddDelOnListAt(int pos)
throws NotAListException,
UnknownException
processAddDelOnListAt in class ResultListpos - the position in the result list (starting at 0)
NotAListException - if the previously stored value was no list
UnknownException - if any other error occurs
public void processAddOnNrAt(int pos)
throws NotANumberException,
UnknownException
processAddOnNrAt in class ResultListpos - the position in the result list (starting at 0)
NotANumberException - if the previously stored value was not a number
UnknownException - if any other error occurs
public void processTestAndSetAt(int pos)
throws NotFoundException,
KeyChangedException,
UnknownException
processTestAndSetAt in class ResultListpos - 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
UnknownException - if any other error occurs
public void processCommitAt(int pos)
throws AbortException,
UnknownException
pos - the position in the result list (starting at 0)
AbortException - if the commit failed
UnknownException - if any other error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||