Click or drag to resize
IdempotenceAwareRetryPolicy Class
A retry policy that avoids retrying non-idempotent statements.

In case of write timeouts this policy will always return Rethrow if the statement is considered non-idempotent (see IsIdempotent). For all other cases, this policy delegates the decision to the child policy.

Inheritance Hierarchy
SystemObject
  CassandraIdempotenceAwareRetryPolicy

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public class IdempotenceAwareRetryPolicy : IRetryPolicy

The IdempotenceAwareRetryPolicy type exposes the following members.

Constructors
  NameDescription
Public methodIdempotenceAwareRetryPolicy
Creates a new instance of IdempotenceAwareRetryPolicy.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnReadTimeout
Defines whether to retry and at which consistency level on a read timeout.

Note that this method may be called even if requiredResponses >= receivedResponses if dataPresent is false (see com.datastax.driver.core.exceptions.ReadTimeoutException#WasDataRetrieved).

Public methodOnUnavailable
Defines whether to retry and at which consistency level on an unavailable exception.
Public methodOnWriteTimeout
Defines whether to retry and at which consistency level on a write timeout.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also