Click or drag to resize

FallthroughRetryPolicy Class

A retry policy that never retry (nor ignore).

All of the methods of this retry policy unconditionally return Rethrow. If this policy is used, retry will have to be implemented in business code.

Inheritance Hierarchy
SystemObject
  DseFallthroughRetryPolicy

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.6.0
Syntax
C#
public class FallthroughRetryPolicy : IExtendedRetryPolicy, 
	IRetryPolicy

The FallthroughRetryPolicy type exposes the following members.

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
Defines whether to retry and at which consistency level on a read timeout.
Public methodOnRequestError
Defines whether to retry and at which consistency level on an unexpected error.

This method might be invoked in the following situations:

  1. On a client timeout, while waiting for the server response (see ReadTimeoutMillis).
  2. On a socket error (socket closed, etc.).
  3. When the contacted host replies with an OVERLOADED error or a SERVER_ERROR.

Note that when such an error occurs, there is no guarantee that the mutation has been applied server-side or not.

Public methodOnUnavailable
Defines whether to retry and at which consistency level on an unavailable exception.
Public methodOnWriteTimeout
Defines whether to retry and at which consistency level on a write timeout.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberInstance
Top
See Also

Reference