Interface IBackOffDelayPolicy
Interface for the backoff delay policy. Used during the recovery of the connection.
public interface IBackOffDelayPolicy
Properties
CurrentAttempt
int CurrentAttempt { get; }
Property Value
Methods
Delay()
Get the next delay in milliseconds.
int Delay()
Returns
IsActive()
Define if the backoff delay policy is active. Can be used to disable the backoff delay policy after a certain number of retries. or when the user wants to disable the backoff delay policy.
bool IsActive()
Returns
Reset()
Reset the backoff delay policy.
void Reset()