| LoggingRetryPolicy Class |
Note that this policy only log the Ignore and Retry decisions (since Rethrow decisions just amount to propagate the cassandra exception). The logging is done at the Info level.
Namespace: Dse
public class LoggingRetryPolicy : IExtendedRetryPolicy, IRetryPolicy
The LoggingRetryPolicy type exposes the following members.
| Name | Description | |
|---|---|---|
| LoggingRetryPolicy |
Creates a new IExtendedRetryPolicy that logs the decision of the provided policy.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| OnReadTimeout | ||
| OnRequestError |
Defines whether to retry and at which consistency level on an
unexpected error.
This method might be invoked in the following situations:
Note that when such an error occurs, there is no guarantee that the mutation has been applied server-side or not. | |
| OnUnavailable | ||
| OnWriteTimeout | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) |