Package com.datastax.driver.core.policies

Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.

See:
          Description

Interface Summary
LoadBalancingPolicy The policy that decides which Cassandra hosts to contact for each new query.
ReconnectionPolicy Policy that decides how often the reconnection to a dead node is attempted.
ReconnectionPolicy.ReconnectionSchedule Schedules reconnection attempts to a node.
RetryPolicy A policy that defines a default behavior to adopt when a request returns a TimeoutException or an UnavailableException.
 

Class Summary
ConstantReconnectionPolicy A reconnection policy that waits a constant time between each reconnection attempt.
DCAwareRoundRobinPolicy A data-center aware Round-robin load balancing policy.
DefaultRetryPolicy The default retry policy.
DowngradingConsistencyRetryPolicy A retry policy that sometimes retry with a lower consistency level than the one initially requested.
ExponentialReconnectionPolicy A reconnection policy that waits exponentially longer between each reconnection attempt (but keeps a constant delay once a maximum delay is reached).
FallthroughRetryPolicy A retry policy that never retry (nor ignore).
LoggingRetryPolicy A retry policy that wraps another policy, logging the decision made by its sub-policy.
Policies Policies configured for a Cluster instance.
RetryPolicy.RetryDecision A retry decision to adopt on a Cassandra exception (read/write timeout or unavailable exception).
RoundRobinPolicy A Round-robin load balancing policy.
TokenAwarePolicy A wrapper load balancing policy that add token awareness to a child policy.
 

Enum Summary
RetryPolicy.RetryDecision.Type The type of retry decisions.
 

Package com.datastax.driver.core.policies Description

Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.



Copyright © 2013. All Rights Reserved.