ExponentialReconnectionPolicy MembersA C# client driver for Apache Cassandra

The ExponentialReconnectionPolicy type exposes the following members.

Public methodExponentialReconnectionPolicy
Creates a reconnection policy waiting exponentially longer for each new attempt.
Back to Top

Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNewSchedule
A new schedule that used an exponentially growing delay between reconnection attempts.

For this schedule, reconnection attempt

Math.min(2^(i-1) * BaseDelayMs, MaxDelayMs)
will be tried milliseconds after the previous one.

Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top

Public propertyBaseDelayMs
Gets the base delay in milliseconds for this policy (e.g. the delay before the first reconnection attempt).
Public propertyMaxDelayMs
Gets the maximum delay in milliseconds between reconnection attempts for this policy.
Back to Top
See Also