Метод | Описание | |
---|---|---|
BackOff ( IBackOffContext backOffContext ) : void |
Delegates directly to the DoBackOff method without passing on the IBackOffContext argument which is not needed for stateless implementations.
|
|
Start ( IRetryContext context ) : IBackOffContext |
Returns null. Subclasses can add behaviour, e.g. * initial sleep before first attempt.
|
Метод | Описание | |
---|---|---|
DoBackOff ( ) : void |
Sub-classes should implement this method to perform the actual back off.
|
public BackOff ( IBackOffContext backOffContext ) : void | ||
backOffContext | IBackOffContext | The back off context. |
Результат | void |
public Start ( IRetryContext context ) : IBackOffContext | ||
context | IRetryContext | The context. |
Результат | IBackOffContext |