| Package | Description |
|---|---|
| de.zib.scalaris |
This package contains means to communicate with the erlang scalaris ring from Java.
|
| Modifier and Type | Method | Description |
|---|---|---|
Connection |
ConnectionFactory.createConnection() |
Creates a connection to a scalaris erlang node specified by the given
parameters.
|
Connection |
ConnectionFactory.createConnection(ConnectionPolicy connectionPolicy) |
Creates a connection to a scalaris erlang node specified by the given
parameters.
|
Connection |
ConnectionFactory.createConnection(java.lang.String clientName) |
Creates a connection to a scalaris erlang node specified by the given
parameters.
|
Connection |
ConnectionFactory.createConnection(java.lang.String clientName,
boolean clientNameAppendUUID) |
Creates a connection to a scalaris erlang node specified by the given
parameters.
|
Connection |
ConnectionFactory.createConnection(java.lang.String clientName,
boolean clientNameAppendUUID,
ConnectionPolicy connectionPolicy) |
Creates a connection to a scalaris erlang node specified by the given
parameters.
|
Connection |
ConnectionPool.getConnection() |
Gets a connection from the pool.
|
Connection |
ConnectionPool.getConnection(long timeout) |
Tries to get a valid connection from the pool waiting at most
timeout milliseconds.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
DeleteResult.hasDeletedAll(Connection conn) |
Checks whether the delete operation has successfully deleted all replicas
(replicas which did not exist are counted as successfully deleted as
well).
|
void |
ConnectionPool.releaseConnection(Connection conn) |
Puts the given connection back into the pool.
|
| Constructor | Description |
|---|---|
AbstractTransaction(Connection conn) |
Constructor, uses the given connection to an erlang node.
|
ReplicatedDHT(Connection conn) |
Constructor, uses the given connection to an erlang node.
|
RoutingTable(Connection conn) |
Constructor, uses the given connection to an erlang node.
|
Scalaris(Connection conn) |
Constructor, uses the given connection to an erlang node.
|
Transaction(Connection conn) |
Constructor, uses the given connection to an erlang node.
|
TransactionSingleOp(Connection conn) |
Constructor, uses the given connection to an erlang node.
|