Click or drag to resize
StatementSetRetryPolicy 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.

Use a IExtendedRetryPolicy implementation to cover all error scenarios.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public IStatement SetRetryPolicy(
	IRetryPolicy policy
)

Parameters

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

Return Value

Type: IStatement
this IStatement instance.

Implements

IStatementSetRetryPolicy(IRetryPolicy)
See Also