Method | Description | |
---|---|---|
Linear ( int retryCount, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, System.TimeSpan deltaBackoff ) : System.TimeSpan |
Computes a linearly increasing delay based on the number of retries. Randomization is added to avoid a 'thundering herd' of retries when the service becomes available.
|
|
RandomExponential ( int retryCount, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, System.TimeSpan deltaBackoff ) : System.TimeSpan |
Computes an exponentially increasing delay based on the number of retries. Randomization is added to avoid a 'thundering herd' of retries when the service becomes available.
|
public static Linear ( int retryCount, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, System.TimeSpan deltaBackoff ) : System.TimeSpan | ||
retryCount | int | The retry count. |
minBackoff | System.TimeSpan | |
maxBackoff | System.TimeSpan | |
deltaBackoff | System.TimeSpan | |
return | System.TimeSpan |
public static RandomExponential ( int retryCount, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, System.TimeSpan deltaBackoff ) : System.TimeSpan | ||
retryCount | int | The retry count. |
minBackoff | System.TimeSpan | The minimum delay. |
maxBackoff | System.TimeSpan | The maximum delay. |
deltaBackoff | System.TimeSpan | |
return | System.TimeSpan |