public static class Transaction.RequestList extends RequestList
Transaction.req_list(RequestList)
.Constructor and Description |
---|
RequestList()
Default constructor.
|
RequestList(Transaction.RequestList other)
Copy constructor.
|
Modifier and Type | Method and 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.
|
addAddDelOnList, addAddDelOnList, addAddOnNr, addAddOnNr, addAddOnNr, addAddOnNr, addCommit, addRead, addRead, addTestAndSet, addTestAndSet, addWrite, addWrite, getCommit, getRequests, isCommit, isEmpty, size, toString
public RequestList()
public RequestList(Transaction.RequestList other)
other
- the request list to copy frompublic Transaction.RequestList addOp(Operation op) throws UnsupportedOperationException
RequestList
addOp
in class RequestList
op
- 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 Transaction.RequestList addAll(Transaction.RequestList other)
other
- another request listRequestList
object