| Package | Description |
|---|---|
| de.zib.scalaris |
This package contains means to communicate with the erlang scalaris ring from Java.
|
| de.zib.scalaris.examples |
This package contains examples how to use the classes of the
de.zib.scalaris package. |
| de.zib.scalaris.executor | |
| de.zib.scalaris.operations |
| Modifier and Type | Method and Description |
|---|---|
ErlangValue |
KeyChangedException.getOldValue()
Returns the (old) value stored in scalaris.
|
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.
|
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. |
| Modifier and Type | Method and Description |
|---|---|
Collection<ErlangValue> |
ErlangValue.listCollectionValue(Class<? extends Collection<ErlangValue>> clazz)
Returns a
Collection of mixed Java values (wrapped in
ErlangValue objects) of the wrapped erlang value (internally
represented as a list in Erlang). |
List<ErlangValue> |
ErlangValue.listValue()
Returns a list of mixed Java values (wrapped in
ErlangValue
objects) of the wrapped erlang value. |
| Modifier and Type | Method and Description |
|---|---|
T |
ErlangValue.ListElementConverter.convert(int i,
ErlangValue v)
Conversion function.
|
String |
ErlangValue.StringListElementConverter.convert(int i,
ErlangValue v) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ErlangValue> |
ErlangValue.listCollectionValue(Class<? extends Collection<ErlangValue>> clazz)
Returns a
Collection of mixed Java values (wrapped in
ErlangValue objects) of the wrapped erlang value (internally
represented as a list in Erlang). |
| Constructor and Description |
|---|
KeyChangedException(ErlangValue old_value)
Creates the exception with the given old value.
|
KeyChangedException(Throwable e,
ErlangValue old_value)
Creates the exception with the given old value taking the message of the
given throwable.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ErlangValueBitString
Implements a faster
String storage mechanism using erlang bitstrings. |
class |
ErlangValueFastString
Implements a faster
String storage mechanism if only Java access to
scalaris is used. |
| Constructor and Description |
|---|
ErlangValueBitString(ErlangValue value)
Creates an object with the given (erlang) value.
|
ErlangValueFastString(ErlangValue value)
Creates an object with the given (erlang) value.
|
| Modifier and Type | Method and Description |
|---|---|
ErlangValue |
ScalarisReadOp.getValue()
Gets the value from the read.
|
| Modifier and Type | Field and Description |
|---|---|
ErlangValue |
ReadRandomFromListOp.Result.randomElement
A random value from the stored list.
|
ErlangValue |
ReadSublistOp.Result.subList
The retrieved sublist.
|
| Modifier and Type | Method and Description |
|---|---|
ErlangValue |
ReadOp.processResult() |
ErlangValue |
ReadOp.processResultSingle() |