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.
|
Class and Description |
---|
LoadBalancingPolicy
The policy that decides which Cassandra hosts to contact for each new query.
|
Policies
Policies configured for a
Cluster instance. |
ReconnectionPolicy
Policy that decides how often the reconnection to a dead node is attempted.
|
RetryPolicy
A policy that defines a default behavior to adopt when a request returns
a TimeoutException or an UnavailableException.
|
Class and Description |
---|
DefaultRetryPolicy
The default retry policy.
|
DowngradingConsistencyRetryPolicy
A retry policy that sometimes retry with a lower consistency level than
the one initially requested.
|
FallthroughRetryPolicy
A retry policy that never retry (nor ignore).
|
LatencyAwarePolicy
A wrapper load balancing policy that adds latency awareness to a child policy.
|
LatencyAwarePolicy.Builder
Helper builder object to create a latency aware policy.
|
LatencyAwarePolicy.Snapshot
An immutable snapshot of the per-host scores (and stats in general)
maintained by
LatencyAwarePolicy to base its decision upon. |
LatencyAwarePolicy.Snapshot.Stats
A snapshot of the statistics on a given host kept by
LatencyAwarePolicy . |
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.
|
RetryPolicy.RetryDecision
A retry decision to adopt on a Cassandra exception (read/write timeout
or unavailable exception).
|
RetryPolicy.RetryDecision.Type
The type of retry decisions.
|
Copyright © 2014. All Rights Reserved.