| 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 | 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(com.ericsson.otp.erlang.OtpErlangString key) |
Gets the value stored under the given
key. |
ErlangValue |
AbstractTransaction.read(java.lang.String key) |
Gets the value stored under the given
key. |
void |
AbstractTransaction.testAndSet(com.ericsson.otp.erlang.OtpErlangString key,
com.ericsson.otp.erlang.OtpErlangObject oldValue,
com.ericsson.otp.erlang.OtpErlangObject newValue) |
Stores the given key/new_value pair if the old value at
key is old_value (atomic test_and_set).
|
<OldT,NewT> |
AbstractTransaction.testAndSet(java.lang.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).
|
void |
Transaction.testAndSet(com.ericsson.otp.erlang.OtpErlangString key,
com.ericsson.otp.erlang.OtpErlangObject oldValue,
com.ericsson.otp.erlang.OtpErlangObject newValue) |
|
<OldT,NewT> |
Transaction.testAndSet(java.lang.String key,
OldT oldValue,
NewT newValue) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
Operation.processResult() |
Processes the result set by
Operation.setResult(OtpErlangObject, boolean). |
ErlangValue |
ReadOp.processResult() |
|
ReadRandomFromListOp.Result |
ReadRandomFromListOp.processResult() |
|
ReadSublistOp.Result |
ReadSublistOp.processResult() |
|
java.lang.Object |
TestAndSetOp.processResult() |
|
ErlangValue |
ReadOp.processResultSingle() |
|
ReadRandomFromListOp.Result |
ReadRandomFromListOp.processResultSingle() |
|
ReadSublistOp.Result |
ReadSublistOp.processResultSingle() |
|
java.lang.Object |
TestAndSetOp.processResultSingle() |
|
java.lang.Object |
TransactionSingleOpOperation.processResultSingle() |
Processes the result set by
Operation.setResult(OtpErlangObject, boolean)
assuming that operation was committed. |