public static class TransactionSingleOp.RequestList extends RequestList
TransactionSingleOp.req_list(RequestList).| Constructor and Description |
|---|
TransactionSingleOp.RequestList()
Default constructor.
|
TransactionSingleOp.RequestList(TransactionSingleOp.RequestList other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addAddDelOnList, addAddDelOnList, addAddOnNr, addAddOnNr, addAddOnNr, addAddOnNr, addRead, addRead, addTestAndSet, addTestAndSet, addWrite, addWrite, getCommit, getRequests, isCommit, isEmpty, size, toStringpublic TransactionSingleOp.RequestList()
public TransactionSingleOp.RequestList(TransactionSingleOp.RequestList other)
other - the request list to copy frompublic TransactionSingleOp.RequestList addOp(Operation op) throws UnsupportedOperationException
RequestListaddOp in class RequestListop - the operation to addRequestList objectUnsupportedOperationException - 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 objectUnsupportedOperationException - always thrown in this classpublic TransactionSingleOp.RequestList addAll(TransactionSingleOp.RequestList other)
other - another request listRequestList object