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 |
---|
AddressTranslator
Translates IP addresses received from Cassandra nodes into locally queriable addresses.
|
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 fails.
|
SpeculativeExecutionPolicy
The policy that decides if the driver will send speculative queries to the next hosts when the
current host takes too long to respond.
|
Class and Description |
---|
AddressTranslator
Translates IP addresses received from Cassandra nodes into locally queriable addresses.
|
ChainableLoadBalancingPolicy
A load balancing policy that wraps another policy.
|
DCAwareRoundRobinPolicy
A data-center aware Round-robin load balancing policy.
|
DCAwareRoundRobinPolicy.Builder
Helper class to build the policy.
|
DefaultRetryPolicy
The default retry policy.
|
DowngradingConsistencyRetryPolicy
Deprecated.
as of version 3.5.0, this retry policy has been deprecated, and it will be removed in
4.0.0. See our upgrade
guide to understand how to migrate existing applications that rely on this policy.
|
ErrorAwarePolicy
Chainable load balancing policy that filters out hosts based on their error rates.
|
ErrorAwarePolicy.Builder
Utility class to create a
ErrorAwarePolicy . |
ErrorAwarePolicy.ErrorFilter
A filter for the errors considered by
ErrorAwarePolicy . |
FallthroughRetryPolicy
A retry policy that never retries (nor ignores).
|
HostFilterPolicy
A load balancing policy wrapper that ensures that only hosts matching the predicate will ever be
returned.
|
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.
|
NoSpeculativeExecutionPolicy
A
SpeculativeExecutionPolicy that never schedules speculative executions. |
Policies
Policies configured for a
Cluster instance. |
Policies.Builder
A builder to create a new
Policies object. |
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 fails.
|
RetryPolicy.RetryDecision
A retry decision to adopt on a Cassandra exception (read/write timeout or unavailable
exception).
|
RetryPolicy.RetryDecision.Type
The types of retry decisions.
|
SpeculativeExecutionPolicy
The policy that decides if the driver will send speculative queries to the next hosts when the
current host takes too long to respond.
|
SpeculativeExecutionPolicy.SpeculativeExecutionPlan
A plan that governs speculative executions for a given query.
|
TokenAwarePolicy.ReplicaOrdering
Strategies for replica ordering.
|
WhiteListPolicy
A load balancing policy wrapper that ensure that only hosts from a provided white list will ever
be returned.
|
Copyright © 2012–2023. All rights reserved.