|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.zib.scalaris.RoutingTable
public class RoutingTable
Scalaris interface to basic routing table information.
| Constructor Summary | |
|---|---|
RoutingTable()
Constructor, uses the default connection returned by ConnectionFactory.createConnection(). |
|
RoutingTable(Connection conn)
Constructor, uses the given connection to an erlang node. |
|
| Method Summary | |
|---|---|
int |
getReplicationFactor()
Returns the replication factor used by the current routing table implementation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoutingTable()
throws ConnectionException
ConnectionFactory.createConnection().
ConnectionException - if the connection failspublic RoutingTable(Connection conn)
conn - connection to use for the Scalaris access| Method Detail |
|---|
public int getReplicationFactor()
throws ConnectionException,
UnknownException
ConnectionException - if the connection is not active or a communication error
occurs or an exit signal was received or the remote node
sends a message containing an invalid cookie
UnknownException - if any other error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||