Click or drag to resize

DefaultRetryPolicyOnRequestError Method

The default implementation triggers a retry on the next host in the query plan with the same consistency level, regardless of the statement's idempotence, for historical reasons.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public RetryDecision OnRequestError(
	IStatement statement,
	Configuration config,
	Exception ex,
	int nbRetry
)

Parameters

statement
Type: CassandraIStatement
config
Type: CassandraConfiguration
ex
Type: SystemException
nbRetry
Type: SystemInt32

Return Value

Type: RetryDecision

Implements

IExtendedRetryPolicyOnRequestError(IStatement, Configuration, Exception, Int32)
See Also