RetryDecisionRetry Method (NullableConsistencyLevel, Boolean) |
Creates a decision to retry using the provided consistency level.
Namespace: DseAssembly: Dse (in Dse.dll) Version: 2.1.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