Click or drag to resize
RetryDecisionRetry Method (NullableConsistencyLevel, Boolean)
Creates a decision to retry using the provided consistency level.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
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: RetryDecision
a Retry with consistency level consistency retry decision.
See Also