|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RetryPolicy | |
---|---|
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 RetryPolicy in com.datastax.driver.core |
---|
Methods in com.datastax.driver.core that return RetryPolicy | |
---|---|
RetryPolicy |
Statement.getRetryPolicy()
Returns the retry policy sets for this query, if any. |
RetryPolicy |
PreparedStatement.getRetryPolicy()
Returns the retry policy sets for this prepared statement, if any. |
Methods in com.datastax.driver.core with parameters of type RetryPolicy | |
---|---|
Statement |
Statement.setRetryPolicy(RetryPolicy policy)
Sets the retry policy to use for this query. |
PreparedStatement |
PreparedStatement.setRetryPolicy(RetryPolicy policy)
Convenience method to set a default retry policy for the BoundStatement
created from this prepared statement. |
Cluster.Builder |
Cluster.Builder.withRetryPolicy(RetryPolicy policy)
Configures the retry policy to use for the new cluster. |
Uses of RetryPolicy in com.datastax.driver.core.policies |
---|
Classes in com.datastax.driver.core.policies that implement RetryPolicy | |
---|---|
class |
DefaultRetryPolicy
The default retry policy. |
class |
DowngradingConsistencyRetryPolicy
A retry policy that sometimes retry with a lower consistency level than the one initially requested. |
class |
FallthroughRetryPolicy
A retry policy that never retry (nor ignore). |
class |
LoggingRetryPolicy
A retry policy that wraps another policy, logging the decision made by its sub-policy. |
Methods in com.datastax.driver.core.policies that return RetryPolicy | |
---|---|
static RetryPolicy |
Policies.defaultRetryPolicy()
The default retry policy. |
RetryPolicy |
Policies.getRetryPolicy()
The retry policy in use. |
Constructors in com.datastax.driver.core.policies with parameters of type RetryPolicy | |
---|---|
LoggingRetryPolicy(RetryPolicy policy)
Creates a new RetryPolicy that logs the decision of policy . |
|
Policies(LoadBalancingPolicy loadBalancingPolicy,
ReconnectionPolicy reconnectionPolicy,
RetryPolicy retryPolicy)
Creates a new Policies object using the provided policies. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |