RetryDecision Class |
There is three possible decision:
Namespace: Dse
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 | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |