|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ReconnectionPolicy | |
|---|---|
| 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. |
| Uses of ReconnectionPolicy in com.datastax.driver.core |
|---|
| Methods in com.datastax.driver.core with parameters of type ReconnectionPolicy | |
|---|---|
Cluster.Builder |
Cluster.Builder.withReconnectionPolicy(ReconnectionPolicy policy)
Configures the reconnection policy to use for the new cluster. |
| Uses of ReconnectionPolicy in com.datastax.driver.core.policies |
|---|
| Classes in com.datastax.driver.core.policies that implement ReconnectionPolicy | |
|---|---|
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). |
| Methods in com.datastax.driver.core.policies that return ReconnectionPolicy | |
|---|---|
static ReconnectionPolicy |
Policies.defaultReconnectionPolicy()
The default reconnection policy. |
ReconnectionPolicy |
Policies.getReconnectionPolicy()
The reconnection policy in use. |
| Constructors in com.datastax.driver.core.policies with parameters of type ReconnectionPolicy | |
|---|---|
Policies(LoadBalancingPolicy loadBalancingPolicy,
ReconnectionPolicy reconnectionPolicy,
RetryPolicy retryPolicy)
Creates a new Policies object using the provided policies. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||