Свойство | Type | Description | |
---|---|---|---|
DEFAULT_INITIAL_INTERVAL | long | ||
DEFAULT_MAX_INTERVAL | long | ||
DEFAULT_MULTIPLIER | double |
Свойство | Type | Description | |
---|---|---|---|
Logger | ILog |
Méthode | Description | |
---|---|---|
BackOff ( IBackOffContext backOffContext ) : void |
Pause for a length of time equal to 'exp(backOffContext.expSeed)'
|
|
Start ( IRetryContext context ) : IBackOffContext |
Returns a new instance of IBackOffContext configured with the 'expSeed' and 'increment' values.
|
|
ToString ( ) : string |
The to string.
|
|
WithSleeper ( ISleeper sleeper ) : |
The with sleeper.
|
Méthode | Description | |
---|---|---|
CloneValues ( |
The clone values.
|
|
NewInstance ( ) : |
The new instance.
|
public BackOff ( IBackOffContext backOffContext ) : void | ||
backOffContext | IBackOffContext | The back off context. |
Résultat | void |
protected CloneValues ( |
||
target | The target. | |
Résultat | void |
protected NewInstance ( ) : |
||
Résultat |
public Start ( IRetryContext context ) : IBackOffContext | ||
context | IRetryContext | The context. |
Résultat | IBackOffContext |
public WithSleeper ( ISleeper sleeper ) : |
||
sleeper | ISleeper | The sleeper. |
Résultat |
public static long DEFAULT_INITIAL_INTERVAL | ||
Résultat | long |
public static long DEFAULT_MAX_INTERVAL | ||
Résultat | long |
public static double DEFAULT_MULTIPLIER | ||
Résultat | double |