RetryDecision Class |
There is three possible decision:
Namespace: Cassandra
public class RetryDecision
The RetryDecision type exposes the following members.
Name | Description | |
---|---|---|
DecisionType |
Gets the type of this retry decision.
| |
RetryConsistencyLevel |
Gets the consistency level for a retry decision or null if
this retry decision is an Ignore or a
Rethrow. | |
UseCurrentHost |
Determines whether the retry policy uses the same host for retry decision. Default: true.
|
Name | Description | |
---|---|---|
Ignore |
Creates an Ignore retry decision.
| |
Rethrow |
Creates a Rethrow retry decision.
| |
Retry(NullableConsistencyLevel) |
Creates a decision to retry using the provided consistency level on the same host.
| |
Retry(NullableConsistencyLevel, Boolean) |
Creates a decision to retry using the provided consistency level.
|