Uses of Class de.zib.scalaris.ConnectionPolicy
Date: 2016-02-29

## Uses of Class
de.zib.scalaris.ConnectionPolicy

- Packages that use ConnectionPolicy
  Package | Description
  --- | ---
  de.zib.scalaris | This package contains means to communicate with the erlang scalaris ring from Java.

- - ### Uses of ConnectionPolicy in de.zib.scalaris

    Subclasses of ConnectionPolicy in de.zib.scalaris
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultConnectionPolicy` Implements a `ConnectionPolicy` by choosing nodes randomly.
    `class` | `FixedNodeConnectionPolicy` Implements a `ConnectionPolicy` which only supports a single node and does not issue automatic re-tries.
    `class` | `RoundRobinConnectionPolicy` Implements a `ConnectionPolicy` by choosing nodes round-robin.

    Methods in de.zib.scalaris that return ConnectionPolicy
    Modifier and Type | Method and Description
    --- | ---
    `ConnectionPolicy` | ConnectionFactory.`getConnectionPolicy()` Gets the current connection policy.

    Methods in de.zib.scalaris with parameters of type ConnectionPolicy
    Modifier and Type | Method and Description
    --- | ---
    `Connection` | ConnectionFactory.`createConnection(ConnectionPolicy connectionPolicy)` Creates a connection to a scalaris erlang node specified by the given parameters.
    `Connection` | ConnectionFactory.`createConnection(String clientName, boolean clientNameAppendUUID, ConnectionPolicy connectionPolicy)` Creates a connection to a scalaris erlang node specified by the given parameters.
    `void` | ConnectionFactory.`setConnectionPolicy(ConnectionPolicy connectionPolicy)` Sets the connection policy to use for new connections.

    Constructors in de.zib.scalaris with parameters of type ConnectionPolicy
    Constructor and Description
    `Connection(OtpSelf self, ConnectionPolicy connectionPolicy)` Creates a new connection between the a `self` node and one of the `remoteNodes`, selected by the `connectionPolicy`.