|
||||||||||
| 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.Transaction.RequestList
public static class Transaction.RequestList
Encapsulates requests that can be used for transactions in
Transaction.req_list(RequestList).
| Constructor Summary | |
|---|---|
Transaction.RequestList()
Default constructor. |
|
Transaction.RequestList(Transaction.RequestList other)
Copy constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class de.zib.scalaris.RequestList |
|---|
addAddDelOnList, addAddDelOnList, addAddOnNr, addAddOnNr, addAddOnNr, addAddOnNr, addCommit, 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 Transaction.RequestList()
public Transaction.RequestList(Transaction.RequestList other)
other - the request list to copy from| Method Detail |
|---|
public Transaction.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 Transaction.RequestList addAll(Transaction.RequestList other)
other - another request list
RequestList object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||