|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.zib.scalaris.RequestList
de.zib.scalaris.TransactionSingleOp.RequestList
public static class TransactionSingleOp.RequestList
Encapsulates requests that can be used for transactions in
TransactionSingleOp.req_list(RequestList).
| Constructor Summary | |
|---|---|
TransactionSingleOp.RequestList()
Default constructor. |
|
TransactionSingleOp.RequestList(TransactionSingleOp.RequestList other)
Copy constructor. |
|
| Method Summary | |
|---|---|
TransactionSingleOp.RequestList |
addAll(TransactionSingleOp.RequestList other)
Adds all requests of the other request list to the end of this list. |
TransactionSingleOp.RequestList |
addCommit()
Throws an UnsupportedOperationException as a commit is not
supported here. |
TransactionSingleOp.RequestList |
addOp(Operation op)
Adds a generic operation to the list of requests. |
| Methods inherited from class de.zib.scalaris.RequestList |
|---|
addAddDelOnList, addAddDelOnList, addAddOnNr, addAddOnNr, addAddOnNr, addAddOnNr, addRead, addRead, addTestAndSet, addTestAndSet, addWrite, addWrite, getCommit, getRequests, isCommit, isEmpty, size, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionSingleOp.RequestList()
public TransactionSingleOp.RequestList(TransactionSingleOp.RequestList other)
other - the request list to copy from| Method Detail |
|---|
public TransactionSingleOp.RequestList addOp(Operation op)
throws UnsupportedOperationException
RequestList
addOp in class RequestListop - the operation to add
RequestList object
UnsupportedOperationException - if the operation is unsupported, e.g. there may only be one
"commit" in a request list and no request after thatpublic TransactionSingleOp.RequestList addCommit()
UnsupportedOperationException as a commit is not
supported here.
addCommit in class RequestListRequestList object
UnsupportedOperationException - always thrown in this classpublic TransactionSingleOp.RequestList addAll(TransactionSingleOp.RequestList other)
other - another request list
RequestList object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||