DefaultRetryPolicy ClassA C# client driver for Apache Cassandra
The default retry policy.

This policy retries queries in only two cases:

  • On a read timeout, if enough replica replied but data was not retrieved.
  • On a write timeout, if we timeout while writting the distributed log used by batch statements.

This retry policy is conservative in that it will never retry with a different consistency level than the one of the initial operation.

In some cases, it may be convenient to use a more aggressive retry policy like DowngradingConsistencyRetryPolicy.

Inheritance Hierarchy

OnlineSystem Object
  Cassandra DefaultRetryPolicy

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class DefaultRetryPolicy : IRetryPolicy
See Also