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 |
---|---|
void |
AbstractTransaction.addDelOnList(OtpErlangString key,
OtpErlangList toAdd,
OtpErlangList toRemove)
Changes the list stored at the given key, i.e.
|
<T> void |
AbstractTransaction.addDelOnList(String key,
List<T> toAdd,
List<T> toRemove)
Changes the list stored at the given key, i.e.
|
void |
AbstractTransaction.addOnNr(OtpErlangString key,
OtpErlangDouble toAdd)
Changes the number stored at the given key, i.e.
|
void |
AbstractTransaction.addOnNr(OtpErlangString key,
OtpErlangLong toAdd)
Changes the number stored at the given key, i.e.
|
<T> void |
AbstractTransaction.addOnNr(String key,
T toAdd)
Changes the number stored at the given key, i.e.
|
static void |
CommonErlangObjects.checkResult_failAbort(OtpErlangObject received_raw,
boolean compressed)
Processes the received_raw term from erlang and if it is a
{fail, abort, KeyList}, issues an
AbortException . |
static void |
CommonErlangObjects.checkResult_failAbort(OtpErlangTuple received,
boolean compressed)
Processes the received_raw term from erlang and if it is a
{fail, abort, KeyList}, issues an
AbortException . |
void |
Transaction.commit()
Commits the current transaction.
|
abstract void |
ResultList.processAddDelOnListAt(int pos)
Processes the result at the given position which originated from
a add_del_on_list request.
|
void |
TransactionSingleOp.ResultList.processAddDelOnListAt(int pos)
Processes the result at the given position which originated from
a add_del_on_list request.
|
abstract void |
ResultList.processAddOnNrAt(int pos)
Processes the result at the given position which originated from
an add_on_nr request.
|
void |
TransactionSingleOp.ResultList.processAddOnNrAt(int pos)
Processes the result at the given position which originated from
an add_on_nr request.
|
void |
Transaction.ResultList.processCommitAt(int pos)
Processes the result at the given position which originated from
a commit request.
|
abstract void |
ResultList.processTestAndSetAt(int pos)
Processes the result at the given position which originated from
a test_and_set request.
|
void |
TransactionSingleOp.ResultList.processTestAndSetAt(int pos)
Processes the result at the given position which originated from
a test_and_set request.
|
abstract void |
ResultList.processWriteAt(int pos)
Processes the result at the given position which originated from
a write request.
|
void |
TransactionSingleOp.ResultList.processWriteAt(int pos)
Processes the result at the given position which originated from
a write request.
|
abstract ResL |
AbstractTransaction.req_list(ReqL req)
Executes all requests in
req . |
Transaction.ResultList |
Transaction.req_list(Transaction.RequestList req)
Executes all requests in
req . |
Transaction.ResultList |
Transaction.req_list(TransactionOperation op)
Executes the given operation.
|
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> |
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).
|
void |
AbstractTransaction.write(OtpErlangString key,
OtpErlangObject value)
Stores the given
key /value pair. |
<T> void |
AbstractTransaction.write(String key,
T value)
Stores the given
key /value pair. |
Modifier and Type | Method and Description |
---|---|
static void |
CommitOp.processResult_commit(OtpErlangObject received_raw,
boolean compressed)
Processes the received_raw term from erlang interpreting it as a
result from a commit operation.
|
Object |
Operation.processResult()
Processes the result set by
Operation.setResult(OtpErlangObject, boolean) . |
Object |
CommitOp.processResult() |
Object |
TransactionSingleOpOperation.processResultSingle()
Processes the result set by
Operation.setResult(OtpErlangObject, boolean)
assuming that operation was committed. |
Object |
AddDelOnListOp.processResultSingle() |
Object |
TestAndSetOp.processResultSingle() |
Object |
AddOnNrOp.processResultSingle() |
ErlangValue |
ReadOp.processResultSingle() |
Object |
WriteOp.processResultSingle() |