| Package | Description | 
|---|---|
| com.datastax.driver.core | 
 The main package for the DataStax Java driver for Cassandra. 
 | 
| com.datastax.driver.core.policies | 
 Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Cluster.Builder | 
Cluster.Builder.withReconnectionPolicy(ReconnectionPolicy policy)
Configures the reconnection policy to use for the new cluster. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ConstantReconnectionPolicy
A reconnection policy that waits a constant time between each reconnection attempt. 
 | 
class  | 
ExponentialReconnectionPolicy
A reconnection policy that waits exponentially longer between each
 reconnection attempt (but keeps a constant delay once a maximum delay is
 reached). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ReconnectionPolicy | 
Policies.defaultReconnectionPolicy()
The default reconnection policy. 
 | 
ReconnectionPolicy | 
Policies.getReconnectionPolicy()
The reconnection policy in use. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Policies.Builder | 
Policies.Builder.withReconnectionPolicy(ReconnectionPolicy reconnectionPolicy)
Sets the reconnection policy. 
 | 
| Constructor and Description | 
|---|
Policies(LoadBalancingPolicy loadBalancingPolicy,
        ReconnectionPolicy reconnectionPolicy,
        RetryPolicy retryPolicy)
Deprecated. 
 
this constructor is provided for backward compatibility.
 Use  
Policies.builder() instead. | 
Policies(LoadBalancingPolicy loadBalancingPolicy,
        ReconnectionPolicy reconnectionPolicy,
        RetryPolicy retryPolicy,
        AddressTranslater addressTranslater)
Deprecated. 
 
this constructor is provided for backward compatibility.
 Use  
Policies.builder() instead. | 
Policies(LoadBalancingPolicy loadBalancingPolicy,
        ReconnectionPolicy reconnectionPolicy,
        RetryPolicy retryPolicy,
        AddressTranslater addressTranslater,
        SpeculativeExecutionPolicy speculativeExecutionPolicy)
Deprecated. 
 
this constructor is provided for backward compatibility.
 Use  
Policies.builder() instead. | 
Policies(LoadBalancingPolicy loadBalancingPolicy,
        ReconnectionPolicy reconnectionPolicy,
        RetryPolicy retryPolicy,
        AddressTranslater addressTranslater,
        TimestampGenerator timestampGenerator)
Deprecated. 
 
this constructor is provided for backward compatibility.
 Use  
Policies.builder() instead. | 
Policies(LoadBalancingPolicy loadBalancingPolicy,
        ReconnectionPolicy reconnectionPolicy,
        RetryPolicy retryPolicy,
        AddressTranslater addressTranslater,
        TimestampGenerator timestampGenerator,
        SpeculativeExecutionPolicy speculativeExecutionPolicy)
Deprecated. 
 
this constructor is exposed for backward compatibility.
 Use  
Policies.builder() instead. | 
Policies(LoadBalancingPolicy loadBalancingPolicy,
        ReconnectionPolicy reconnectionPolicy,
        RetryPolicy retryPolicy,
        SpeculativeExecutionPolicy speculativeExecutionPolicy)
Deprecated. 
 
this constructor is provided for backward compatibility.
 Use  
Policies.builder() instead. |