FallthroughRetryPolicyOnReadTimeout Method |
Defines whether to retry and at which consistency level on a read timeout.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax 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:
RetryDecisionRetryDecision.rethrow().
Implements
IRetryPolicyOnReadTimeout(IStatement, ConsistencyLevel, Int32, Int32, Boolean, Int32)See Also