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 | |
---|---|---|
![]() | 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.
|
Name | Description | |
---|---|---|
![]() | 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. |