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:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
IStatement SetRetryPolicy(
	IRetryPolicy policy
)

Parameters

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

Return Value

Type: IStatement
this IStatement instance.
See Also