FallthroughRetryPolicy.OnReadTimeout Method |
Defines whether to retry and at which consistency level on a read timeout.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntaxpublic RetryDecision OnReadTimeout(
IStatement query,
ConsistencyLevel cl,
int requiredResponses,
int receivedResponses,
bool dataRetrieved,
int nbRetry
)
Parameters
- query
- Type: Cassandra.IStatement
the original query that timeouted. - cl
- Type: Cassandra.ConsistencyLevel
the original consistency level of the read that timeouted.
- requiredResponses
- Type: System.Int32
the number of responses that were required
to achieve the requested consistency level. - receivedResponses
- Type: System.Int32
the number of responses that had been
received by the time the timeout exception was raised. - dataRetrieved
- Type: System.Boolean
whether actual data (by opposition to data
checksum) was present in the received responses. - nbRetry
- Type: System.Int32
the number of retry already performed for this
operation.
Return Value
Type:
RetryDecisionRetryDecision.rethrow().
Implements
IRetryPolicy.OnReadTimeout(IStatement, ConsistencyLevel, Int32, Int32, Boolean, Int32)
See Also