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