- Scalaris - Class in de.zib.scalaris
-
Provides methods to interact with some Scalaris (Erlang) VM.
- Scalaris() - Constructor for class de.zib.scalaris.Scalaris
-
- Scalaris(Connection) - Constructor for class de.zib.scalaris.Scalaris
-
Constructor, uses the given connection to an erlang node.
- ScalarisChangeListOp1 - Class in de.zib.scalaris.executor
-
Implements a list change operation using the read and write operations of
Scalaris.
- ScalarisChangeListOp1(String, String) - Constructor for class de.zib.scalaris.executor.ScalarisChangeListOp1
-
Creates a new list change operation.
- ScalarisChangeListOp2 - Class in de.zib.scalaris.executor
-
Implements a list change operation using the append operation of Scalaris.
- ScalarisChangeListOp2(String, String) - Constructor for class de.zib.scalaris.executor.ScalarisChangeListOp2
-
Creates a new list change operation.
- ScalarisIncrementOp1<T extends Number> - Class in de.zib.scalaris.executor
-
Implements an increment operation using the read and write operations of
Scalaris.
- ScalarisIncrementOp1(String, T) - Constructor for class de.zib.scalaris.executor.ScalarisIncrementOp1
-
Creates a write operation.
- ScalarisIncrementOp2<T extends Number> - Class in de.zib.scalaris.executor
-
Implements an increment operation using the increment operation of
Scalaris.
- ScalarisIncrementOp2(String, T) - Constructor for class de.zib.scalaris.executor.ScalarisIncrementOp2
-
Creates a write operation.
- ScalarisListAppendRemoveOp1<T> - Class in de.zib.scalaris.executor
-
Implements a list append and remove operation using the read and write
operations of Scalaris.
- ScalarisListAppendRemoveOp1(String, List<T>, List<T>, String) - Constructor for class de.zib.scalaris.executor.ScalarisListAppendRemoveOp1
-
Creates a new append+remove operation.
- ScalarisListAppendRemoveOp2<T> - Class in de.zib.scalaris.executor
-
Implements a list append operation using the append operation of Scalaris.
- ScalarisListAppendRemoveOp2(String, List<T>, List<T>, String) - Constructor for class de.zib.scalaris.executor.ScalarisListAppendRemoveOp2
-
Creates a new append+remove operation.
- ScalarisOp - Interface in de.zib.scalaris.executor
-
Interface for arbitrary Scalaris operations.
- ScalarisOpExecutor - Class in de.zib.scalaris.executor
-
Executes multiple
ScalarisOp
operations in multiple phases only
sending requests to Scalaris once per work phase.
- ScalarisOpExecutor() - Constructor for class de.zib.scalaris.executor.ScalarisOpExecutor
-
- ScalarisReadOp - Class in de.zib.scalaris.executor
-
Implements a read operation (tolerates "not found" and in this case contains
null).
- ScalarisReadOp(String) - Constructor for class de.zib.scalaris.executor.ScalarisReadOp
-
Creates a read operation.
- ScalarisSingleOpExecutor - Class in de.zib.scalaris.executor
-
Executes multiple
ScalarisOp
operations in multiple phases only
sending requests to Scalaris once per work phase.
- ScalarisSingleOpExecutor(TransactionSingleOp) - Constructor for class de.zib.scalaris.executor.ScalarisSingleOpExecutor
-
Creates a new executor.
- ScalarisTxOpExecutor - Class in de.zib.scalaris.executor
-
Executes multiple
ScalarisOp
operations in multiple phases only
sending requests to Scalaris once per work phase.
- ScalarisTxOpExecutor(Transaction) - Constructor for class de.zib.scalaris.executor.ScalarisTxOpExecutor
-
Creates a new executor.
- scalarisVersion - Variable in class de.zib.scalaris.Monitor.GetNodeInfoResult
-
Scalaris version string.
- scalarisVersion - Variable in class de.zib.scalaris.ScalarisVM.GetInfoResult
-
Scalaris version string.
- ScalarisVM - Class in de.zib.scalaris
-
Provides methods to interact with a specific Scalaris (Erlang) VM.
- ScalarisVM(PeerNode) - Constructor for class de.zib.scalaris.ScalarisVM
-
Creates a connection to the erlang VM of the given Scalaris node.
- ScalarisVM(String) - Constructor for class de.zib.scalaris.ScalarisVM
-
Creates a connection to the erlang VM of the given Scalaris node.
- ScalarisVM.AddNodesResult - Class in de.zib.scalaris
-
- ScalarisVM.DeleteNodesByNameResult - Class in de.zib.scalaris
-
- ScalarisVM.GetInfoResult - Class in de.zib.scalaris
-
- ScalarisWriteOp<T> - Class in de.zib.scalaris.executor
-
Implements a write operation.
- ScalarisWriteOp(String, T) - Constructor for class de.zib.scalaris.executor.ScalarisWriteOp
-
Creates a write operation.
- selectNode() - Method in class de.zib.scalaris.ConnectionPolicy
-
Selects the node to connect with when establishing a connection (no
failed node, no exception that has already been thrown).
- selectNode(int, PeerNode, E) - Method in class de.zib.scalaris.ConnectionPolicy
-
Selects the node to (re-)connect with.
- selectNode(int, PeerNode, E) - Method in class de.zib.scalaris.DefaultConnectionPolicy
-
- selectNode(int, PeerNode, E) - Method in class de.zib.scalaris.FixedNodeConnectionPolicy
-
- sendRPC(String, String, OtpErlangList) - Method in class de.zib.scalaris.Connection
-
Sends the given RPC and returns immediately.
- sendRPC(String, String, OtpErlangObject[]) - Method in class de.zib.scalaris.Connection
-
Sends the given RPC and returns immediately.
- setClientName(String) - Method in class de.zib.scalaris.ConnectionFactory
-
Sets the name of the (Java) client to use when establishing a connection
with erlang.
- setClientNameAppendUUID(boolean) - Method in class de.zib.scalaris.ConnectionFactory
-
Sets whether to append an UUID to client names or not.
- setCommitLast(boolean) - Method in class de.zib.scalaris.executor.ScalarisTxOpExecutor
-
- setCompressed(boolean) - Method in class de.zib.scalaris.AbstractTransaction
-
Sets whether to compress the transfer of values or not.
- setConnectionPolicy(ConnectionPolicy) - Method in class de.zib.scalaris.ConnectionFactory
-
Sets the connection policy to use for new connections.
- setCookie(String) - Method in class de.zib.scalaris.ConnectionFactory
-
Sets the cookie name to use for connections.
- setMaxNodes(int) - Method in class de.zib.scalaris.NodeDiscovery
-
- setMaxRetries(int) - Method in class de.zib.scalaris.DefaultConnectionPolicy
-
Gets the maximal number of automatic connection retries.
- setMinAgeToRemove(int) - Method in class de.zib.scalaris.NodeDiscovery
-
Sets the minimum time in seconds since the last successful connection for
a node to be removed in favour of newly discovered nodes.
- setNode(String) - Method in class de.zib.scalaris.ConnectionFactory
-
Sets the name of the node to connect to.
- setNode(PeerNode) - Method in class de.zib.scalaris.ConnectionFactory
-
Sets the name of the node to connect to.
- setProperties(Properties) - Method in class de.zib.scalaris.ConnectionFactory
-
Sets the object's members used for creating connections to erlang to
values provided by the given
Properties
object.
- setResult(OtpErlangObject, boolean) - Method in class de.zib.scalaris.operations.AddDelOnListOp
-
- setResult(OtpErlangObject, boolean) - Method in class de.zib.scalaris.operations.AddOnNrOp
-
- setResult(OtpErlangObject, boolean) - Method in class de.zib.scalaris.operations.CommitOp
-
- setResult(OtpErlangObject, boolean) - Method in interface de.zib.scalaris.operations.Operation
-
Sets the raw erlang result value.
- setResult(OtpErlangObject, boolean) - Method in class de.zib.scalaris.operations.PartialReadOp
-
- setResult(OtpErlangObject, boolean) - Method in class de.zib.scalaris.operations.ReadOp
-
- setResult(OtpErlangObject, boolean) - Method in class de.zib.scalaris.operations.TestAndSetOp
-
- setResult(OtpErlangObject, boolean) - Method in class de.zib.scalaris.operations.WriteOp
-
- shutdownNode(ErlangValue) - Method in class de.zib.scalaris.ScalarisVM
-
Shuts down the given node (graceful leave) inside the Scalaris VM of the
current connection.
- shutdownNodes(int) - Method in class de.zib.scalaris.ScalarisVM
-
Shuts down the given number of nodes (graceful leave) inside the
Scalaris VM of the current connection.
- shutdownNodesByName(List<ErlangValue>) - Method in class de.zib.scalaris.ScalarisVM
-
Shuts down the given nodes (graceful leave) inside the Scalaris VM of the
current connection.
- shutdownVM() - Method in class de.zib.scalaris.ScalarisVM
-
Tells the Scalaris VM of the current connection to shut down gracefully.
- size() - Method in class de.zib.scalaris.RequestList
-
Gets the number of requests in the list.
- size() - Method in class de.zib.scalaris.ResultList
-
Gets the number of results in the list.
- startWithFixedDelay(long) - Method in class de.zib.scalaris.NodeDiscovery
-
Starts the node discovery service at the given fixed delay.
- startWithFixedDelay(long, long, TimeUnit) - Method in class de.zib.scalaris.NodeDiscovery
-
Starts the node discovery service at the given fixed delay.
- stringListValue() - Method in class de.zib.scalaris.ErlangValue
-
Returns a list of
String
values of the wrapped erlang value.
- stringValue() - Method in class de.zib.scalaris.ErlangValue
-
Returns the Java
String
value of the wrapped erlang value.
- stringValue() - Method in class de.zib.scalaris.examples.ErlangValueBitString
-
Converts the stored erlang value created by this object to a Java
String
.
- stringValue() - Method in class de.zib.scalaris.examples.ErlangValueFastString
-
Converts the stored erlang value created by this object to a Java
String
.
- structAtom - Static variable in class de.zib.scalaris.CommonErlangObjects
-
- subList - Variable in class de.zib.scalaris.operations.ReadSublistOp.Result
-
The retrieved sublist.
- sublistAtom - Static variable in class de.zib.scalaris.CommonErlangObjects
-
- successful - Variable in class de.zib.scalaris.ScalarisVM.AddNodesResult
-
Names of successfully added nodes.
- successful - Variable in class de.zib.scalaris.ScalarisVM.DeleteNodesByNameResult
-
Names of successfully deleted nodes.