Click or drag to resize
RetryDecision Class
A retry decision to adopt on a Cassandra exception (read/write timeout or unavailable exception).

There is three possible decision:

  • Rethrow: no retry should be attempted and an exception should be thrown
  • Retry: the operation will be retried. The consistency level of the retry should be specified.
  • Ignore: no retry should be attempted and the exception should be ignored. In that case, the operation that triggered the Cassandra exception will return an empty result set.

Inheritance Hierarchy
SystemObject
  CassandraRetryDecision

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public class RetryDecision

The RetryDecision type exposes the following members.

Methods
Properties
  NameDescription
Public propertyDecisionType
Gets the type of this retry decision.
Public propertyRetryConsistencyLevel
Gets the consistency level for a retry decision or null if this retry decision is an Ignore or a Rethrow.
Public propertyUseCurrentHost
Determines whether the retry policy uses the same host for retry decision. Default: true.
Top
See Also