ExponentialReconnectionPolicy Class |
Namespace: Dse
public class ExponentialReconnectionPolicy : IReconnectionPolicy
The ExponentialReconnectionPolicy type exposes the following members.
Name | Description | |
---|---|---|
ExponentialReconnectionPolicy |
Creates a reconnection policy waiting exponentially longer for each new
attempt.
|
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.) | |
NewSchedule |
A new schedule that used an exponentially growing delay between reconnection
attempts. For this schedule, reconnection attempt i will be tried Math.min(2^(i-1) * BaseDelayMs, MaxDelayMs) milliseconds after the previous one. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
BaseDelayMs |
Gets the base delay in milliseconds for this policy (e.g. the delay before the
first reconnection attempt).
| |
MaxDelayMs |
Gets the maximum delay in milliseconds between reconnection attempts for this
policy.
|