Click or drag to resize
FallthroughRetryPolicyOnReadTimeout Method
Defines whether to retry and at which consistency level on a read timeout.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public RetryDecision OnReadTimeout(
	IStatement query,
	ConsistencyLevel cl,
	int requiredResponses,
	int receivedResponses,
	bool dataRetrieved,
	int nbRetry
)

Parameters

query
Type: CassandraIStatement
the original query that timeouted.
cl
Type: CassandraConsistencyLevel
the original consistency level of the read that timeouted.
requiredResponses
Type: SystemInt32
the number of responses that were required to achieve the requested consistency level.
receivedResponses
Type: SystemInt32
the number of responses that had been received by the time the timeout exception was raised.
dataRetrieved
Type: SystemBoolean
whether actual data (by opposition to data checksum) was present in the received responses.
nbRetry
Type: SystemInt32
the number of retry already performed for this operation.

Return Value

Type: RetryDecision
RetryDecision.rethrow().

Implements

IRetryPolicyOnReadTimeout(IStatement, ConsistencyLevel, Int32, Int32, Boolean, Int32)
See Also