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 | |
---|---|---|
ChildPolicy |
Name | Description | |
---|---|---|
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 |