Package | Description |
---|---|
de.zib.scalaris |
This package contains means to communicate with the erlang scalaris ring from Java.
|
de.zib.scalaris.operations |
Modifier and Type | Method and Description |
---|---|
ErlangValue |
ResultList.processReadAt(int pos)
Processes the result at the given position which originated from a read
request and returns the value that has been read.
|
abstract void |
ResultList.processTestAndSetAt(int pos)
Processes the result at the given position which originated from
a test_and_set request.
|
void |
Transaction.ResultList.processTestAndSetAt(int pos)
Processes the result at the given position which originated from
an add_on_nr request.
|
void |
TransactionSingleOp.ResultList.processTestAndSetAt(int pos)
Processes the result at the given position which originated from
a test_and_set request.
|
ErlangValue |
AbstractTransaction.read(OtpErlangString key)
Gets the value stored under the given
key . |
ErlangValue |
AbstractTransaction.read(String key)
Gets the value stored under the given
key . |
void |
Transaction.testAndSet(OtpErlangString key,
OtpErlangObject oldValue,
OtpErlangObject newValue) |
void |
AbstractTransaction.testAndSet(OtpErlangString key,
OtpErlangObject oldValue,
OtpErlangObject newValue)
Stores the given key/new_value pair if the old value at
key is old_value (atomic test_and_set).
|
<OldT,NewT> |
Transaction.testAndSet(String key,
OldT oldValue,
NewT newValue) |
<OldT,NewT> |
AbstractTransaction.testAndSet(String key,
OldT oldValue,
NewT newValue)
Stores the given key/new_value pair if the old value at
key is old_value (atomic test_and_set).
|
Modifier and Type | Method and Description |
---|---|
ReadSublistOp.Result |
ReadSublistOp.processResult() |
Object |
Operation.processResult()
Processes the result set by
Operation.setResult(OtpErlangObject, boolean) . |
Object |
TestAndSetOp.processResult() |
ReadRandomFromListOp.Result |
ReadRandomFromListOp.processResult() |
ErlangValue |
ReadOp.processResult() |
ReadSublistOp.Result |
ReadSublistOp.processResultSingle() |
Object |
TestAndSetOp.processResultSingle() |
Object |
TransactionSingleOpOperation.processResultSingle()
Processes the result set by
Operation.setResult(OtpErlangObject, boolean)
assuming that operation was committed. |
ReadRandomFromListOp.Result |
ReadRandomFromListOp.processResultSingle() |
ErlangValue |
ReadOp.processResultSingle() |