RetryDecisionRetry Method (NullableConsistencyLevel, Boolean) |
Creates a decision to retry using the provided consistency level.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax public static RetryDecision Retry(
Nullable<ConsistencyLevel> consistency,
bool useCurrentHost
)
Parameters
- consistency
- Type: SystemNullableConsistencyLevel
the consistency level to use for the retry. - useCurrentHost
- Type: SystemBoolean
Determines if the retry is made using the current host.
Return Value
Type:
RetryDecisiona Retry with consistency level
consistency retry
decision.
See Also