public static class Transaction.RequestList extends RequestList
Transaction.req_list(RequestList).| Constructor | Description |
|---|---|
RequestList() |
Default constructor.
|
RequestList(Transaction.RequestList other) |
Copy constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
Transaction.RequestList |
addAll(Transaction.RequestList other) |
Adds all requests of the other request list to the end of this list.
|
Transaction.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, addCommit, addRead, addRead, addTestAndSet, addTestAndSet, addWrite, addWrite, getCommit, getRequests, isCommit, isEmpty, size, toStringpublic RequestList()
public RequestList(Transaction.RequestList other)
other - the request list to copy frompublic Transaction.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 Transaction.RequestList addAll(Transaction.RequestList other)
other - another request listTransaction.RequestList object