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:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public RetryDecision OnRequestError(
	IStatement statement,
	Configuration config,
	Exception ex,
	int nbRetry
)

Parameters

statement
Type: DseIStatement
config
Type: DseConfiguration
ex
Type: SystemException
nbRetry
Type: SystemInt32

Return Value

Type: RetryDecision

Implements

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