Uses of Interface
com.datastax.driver.core.policies.RetryPolicy
-
Packages that use RetryPolicy Package Description com.datastax.driver.core The main package for the Java Driver for Cassandra.com.datastax.driver.core.policies Policies that allow to control some of the behavior of the ScyllaDB Java driver. -
-
Uses of RetryPolicy in com.datastax.driver.core
Methods in com.datastax.driver.core that return RetryPolicy Modifier and Type Method Description RetryPolicyDefaultPreparedStatement. getRetryPolicy()RetryPolicyPreparedStatement. getRetryPolicy()Returns the retry policy sets for this prepared statement, if any.RetryPolicyStatement. getRetryPolicy()Returns the retry policy sets for this query, if any.RetryPolicyStatementWrapper. getRetryPolicy()Methods in com.datastax.driver.core with parameters of type RetryPolicy Modifier and Type Method Description PreparedStatementDefaultPreparedStatement. setRetryPolicy(RetryPolicy policy)PreparedStatementPreparedStatement. setRetryPolicy(RetryPolicy policy)Convenience method to set a default retry policy for theBoundStatementcreated from this prepared statement.StatementStatement. setRetryPolicy(RetryPolicy policy)Sets the retry policy to use for this query.StatementStatementWrapper. setRetryPolicy(RetryPolicy policy)Cluster.BuilderCluster.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 Modifier and Type Class Description classDefaultRetryPolicyThe default retry policy.classDowngradingConsistencyRetryPolicyDeprecated.as of version 3.5.0, this retry policy has been deprecated, and it will be removed in 4.0.0.classFallthroughRetryPolicyA retry policy that never retries (nor ignores).classIdempotenceAwareRetryPolicyDeprecated.As of version 3.1.0, the driver doesn't retry non-idempotent statements for write timeouts or unexpected errors anymore.classLoggingRetryPolicyA retry policy that wraps another policy, logging the decision made by its sub-policy.Methods in com.datastax.driver.core.policies that return RetryPolicy Modifier and Type Method Description static RetryPolicyPolicies. defaultRetryPolicy()The default retry policy.RetryPolicyPolicies. getRetryPolicy()The retry policy in use.Methods in com.datastax.driver.core.policies with parameters of type RetryPolicy Modifier and Type Method Description Policies.BuilderPolicies.Builder. withRetryPolicy(RetryPolicy retryPolicy)Sets the retry policy.Constructors in com.datastax.driver.core.policies with parameters of type RetryPolicy Constructor Description IdempotenceAwareRetryPolicy(RetryPolicy childPolicy)Deprecated.Creates a new instance.LoggingRetryPolicy(RetryPolicy policy)Creates a newRetryPolicythat logs the decision ofpolicy.
-