Click or drag to resize
DefaultRetryPolicy.OnRequestError 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.5.0
Syntax
C#
public RetryDecision OnRequestError(
	IStatement statement,
	Configuration config,
	Exception ex,
	int nbRetry
)

Parameters

statement
Type: Dse.IStatement
config
Type: Dse.Configuration
ex
Type: System.Exception
nbRetry
Type: System.Int32

Return Value

Type: RetryDecision

Implements

IExtendedRetryPolicy.OnRequestError(IStatement, Configuration, Exception, Int32)
See Also