Click or drag to resize
LoggingRetryPolicy Class
A retry policy that wraps another policy, logging the decision made by its sub-policy.

Note that this policy only log the Ignore and Retry decisions (since Rethrow decisions just amount to propate the cassandra exception). The logging is done at the Info level.

Inheritance Hierarchy
SystemObject
  CassandraLoggingRetryPolicy

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public class LoggingRetryPolicy : IRetryPolicy

The LoggingRetryPolicy type exposes the following members.

Constructors
  NameDescription
Public methodLoggingRetryPolicy
Creates a new RetryPolicy that logs the decision of policy.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnReadTimeout
Public methodOnUnavailable
Public methodOnWriteTimeout
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also