| 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 | Field | Description |
|---|---|---|
java.util.List<ErlangValue> |
ScalarisVM.DeleteNodesByNameResult.notFound |
Nodes which do not exist (anymore) in the VM.
|
java.util.List<ErlangValue> |
ScalarisVM.AddNodesResult.successful |
Names of successfully added nodes.
|
java.util.List<ErlangValue> |
ScalarisVM.DeleteNodesByNameResult.successful |
Names of successfully deleted nodes.
|
| Modifier and Type | Method | 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(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. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ErlangValue> |
ScalarisVM.getNodes() |
Gets the names of the nodes in the Scalaris VM of the current connection.
|
java.util.List<ErlangValue> |
ScalarisVM.killNodes(int number) |
Kills the given number of nodes inside the Scalaris VM of the current
connection.
|
java.util.Collection<ErlangValue> |
ErlangValue.listCollectionValue(java.lang.Class<? extends java.util.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). |
java.util.List<ErlangValue> |
ErlangValue.listValue() |
Returns a list of mixed Java values (wrapped in
ErlangValue
objects) of the wrapped erlang value. |
java.util.List<ErlangValue> |
ScalarisVM.shutdownNodes(int number) |
Shuts down the given number of nodes (graceful leave) inside the
Scalaris VM of the current connection.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
ErlangValue.compareTo(ErlangValue o) |
Compares two erlang values by their string representation (expensive!).
|
T |
ErlangValue.ListElementConverter.convert(int i,
ErlangValue v) |
Conversion function.
|
java.lang.String |
ErlangValue.StringListElementConverter.convert(int i,
ErlangValue v) |
|
boolean |
ScalarisVM.killNode(ErlangValue name) |
Kills the given node inside the Scalaris VM of the current connection.
|
boolean |
ScalarisVM.shutdownNode(ErlangValue name) |
Shuts down the given node (graceful leave) inside the Scalaris VM of the
current connection.
|
| Modifier and Type | Method | Description |
|---|---|---|
ScalarisVM.DeleteNodesByNameResult |
ScalarisVM.killNodes(java.util.List<ErlangValue> names) |
Kills the given nodes inside the Scalaris VM of the current connection.
|
java.util.Collection<ErlangValue> |
ErlangValue.listCollectionValue(java.lang.Class<? extends java.util.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). |
ScalarisVM.DeleteNodesByNameResult |
ScalarisVM.shutdownNodesByName(java.util.List<ErlangValue> names) |
Shuts down the given nodes (graceful leave) inside the Scalaris VM of the
current connection.
|
| Constructor | Description |
|---|---|
KeyChangedException(ErlangValue old_value) |
Creates the exception with the given old value.
|
KeyChangedException(java.lang.Throwable e,
ErlangValue old_value) |
Creates the exception with the given old value taking the message of the
given throwable.
|
| Modifier and Type | Class | 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 | 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 | Description |
|---|---|---|
ErlangValue |
ScalarisReadOp.getValue() |
Gets the value from the read.
|
| Modifier and Type | Field | Description |
|---|---|---|
ErlangValue |
ReadRandomFromListOp.Result.randomElement |
A random value from the stored list.
|
ErlangValue |
ReadSublistOp.Result.subList |
The retrieved sublist.
|
| Modifier and Type | Method | Description |
|---|---|---|
ErlangValue |
ReadOp.processResult() |
|
ErlangValue |
ReadOp.processResultSingle() |