Property | Type | Description | |
---|---|---|---|
StandardMaxBackoff | System.TimeSpan | ||
StandardMinBackoff | System.TimeSpan |
Method | Description | |
---|---|---|
RetryN ( int numberOfRetries, System.TimeSpan deltaBackoff ) : SecUtility.ProviderRetryPolicy |
Policy that retries a specified number of times with an exponential backoff scheme For this retry policy, the minimum amount of milliseconds between retries is given by the StandardMinBackoff constant, and the maximum backoff is predefined by the StandardMaxBackoff constant. Otherwise, the backoff is calculated as random(2^currentRetry) * deltaBackoff. |
|
RetryN ( int numberOfRetries, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, System.TimeSpan deltaBackoff ) : SecUtility.ProviderRetryPolicy |
Policy that retries a specified number of times with an exponential backoff scheme For this retry policy, the minimum amount of milliseconds between retries is given by the minBackoff parameter, and the maximum backoff is predefined by the maxBackoff parameter. Otherwise, the backoff is calculated as random(2^currentRetry) * deltaBackoff. |
Method | Description | |
---|---|---|
CalculateCurrentBackoff ( System.TimeSpan minBackoff, System.TimeSpan maxBackoff, System.TimeSpan deltaBackoff, int curRetry ) : int | ||
NoRetry ( System.Action action ) : void |
Policy that does no retries i.e., it just invokes action exactly once
|
|
RetryNImpl ( System.Action action, int numberOfRetries, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, System.TimeSpan deltaBackoff ) : void |
public static RetryN ( int numberOfRetries, System.TimeSpan deltaBackoff ) : SecUtility.ProviderRetryPolicy | ||
numberOfRetries | int | The number of times to retry. Should be a non-negative number. |
deltaBackoff | System.TimeSpan | The multiplier in the exponential backoff scheme |
return | SecUtility.ProviderRetryPolicy |
public static RetryN ( int numberOfRetries, System.TimeSpan minBackoff, System.TimeSpan maxBackoff, System.TimeSpan deltaBackoff ) : SecUtility.ProviderRetryPolicy | ||
numberOfRetries | int | The number of times to retry. Should be a non-negative number |
minBackoff | System.TimeSpan | The minimum backoff interval |
maxBackoff | System.TimeSpan | |
deltaBackoff | System.TimeSpan | The multiplier in the exponential backoff scheme |
return | SecUtility.ProviderRetryPolicy |
public static TimeSpan,System StandardMaxBackoff | ||
return | System.TimeSpan |