Click or drag to resize

IStatementSetRetryPolicy Method

Sets the retry policy to use for this query.

Calling this method is only required when you want to override the default RetryPolicy set in the cluster configuration for this request or the one set in the execution profile (see RetryPolicy) for this request.

Use a IExtendedRetryPolicy implementation to cover all error scenarios.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
IStatement SetRetryPolicy(
	IRetryPolicy policy
)

Parameters

policy
Type: DseIRetryPolicy
The retry policy to use for this query.

Return Value

Type: IStatement
this IStatement instance.
See Also