Method | Description | |
---|---|---|
Retry ( this policyBuilder ) : |
Builds a Policy that will retry once.
|
|
Retry ( this policyBuilder, Action |
Builds a Policy that will retry once calling onRetry on retry with the raised exception, retry count and context data.
|
|
Retry ( this policyBuilder, int>.Action |
Builds a Policy that will retry once calling onRetry on retry with the raised exception and retry count.
|
|
Retry ( this policyBuilder, int retryCount ) : |
Builds a Policy that will retry retryCount times.
|
|
Retry ( this policyBuilder, int retryCount, Action |
Builds a Policy that will retry retryCount times calling onRetry on each retry with the raised exception, retry count and context data.
|
|
Retry ( this policyBuilder, int retryCount, int>.Action |
Builds a Policy that will retry retryCount times calling onRetry on each retry with the raised exception and retry count.
|
|
RetryForever ( this policyBuilder ) : |
Builds a Policy that will retry indefinitely.
|
|
RetryForever ( this policyBuilder, Context>.Action |
Builds a Policy that will retry indefinitely calling onRetry on each retry with the raised exception and context data.
|
|
RetryForever ( this policyBuilder, Action |
Builds a Policy that will retry indefinitely calling onRetry on each retry with the raised exception.
|
|
WaitAndRetry ( this policyBuilder, IEnumerable |
Builds a Policy that will wait and retry as many times as there are provided sleepDurations On each retry, the duration to wait is the current sleepDurations item.
|
|
WaitAndRetry ( this policyBuilder, IEnumerable |
Builds a Policy that will wait and retry as many times as there are provided sleepDurations calling onRetry on each retry with the raised exception, current sleep duration and context data. On each retry, the duration to wait is the current sleepDurations item.
|
|
WaitAndRetry ( this policyBuilder, IEnumerable |
Builds a Policy that will wait and retry as many times as there are provided sleepDurations calling onRetry on each retry with the raised exception, current sleep duration, retry count and context data. On each retry, the duration to wait is the current sleepDurations item.
|
|
WaitAndRetry ( this policyBuilder, IEnumerable |
Builds a Policy that will wait and retry as many times as there are provided sleepDurations calling onRetry on each retry with the raised exception and the current sleep duration. On each retry, the duration to wait is the current sleepDurations item.
|
|
WaitAndRetry ( this policyBuilder, int retryCount, TimeSpan>.Func |
Builds a Policy that will wait and retry retryCount times. On each retry, the duration to wait is calculated by calling sleepDurationProvider with the current retry attempt allowing an exponentially increasing wait time (exponential backoff).
|
|
WaitAndRetry ( this policyBuilder, int retryCount, TimeSpan>.Func |
Builds a Policy that will wait and retry retryCount times calling onRetry on each retry with the raised exception, current sleep duration and context data. On each retry, the duration to wait is calculated by calling sleepDurationProvider with the current retry attempt allowing an exponentially increasing wait time (exponential backoff).
|
|
WaitAndRetry ( this policyBuilder, int retryCount, TimeSpan>.Func |
Builds a Policy that will wait and retry retryCount times calling onRetry on each retry with the raised exception, current sleep duration, retry count, and context data. On each retry, the duration to wait is calculated by calling sleepDurationProvider with the current retry attempt allowing an exponentially increasing wait time (exponential backoff).
|
|
WaitAndRetry ( this policyBuilder, int retryCount, TimeSpan>.Func |
Builds a Policy that will wait and retry retryCount times calling onRetry on each retry with the raised exception and the current sleep duration. On each retry, the duration to wait is calculated by calling sleepDurationProvider with the current retry attempt allowing an exponentially increasing wait time (exponential backoff).
|
|
WaitAndRetryForever ( this policyBuilder, TimeSpan>.Func |
Builds a Policy that will wait and retry indefinitely.
|
|
WaitAndRetryForever ( this policyBuilder, TimeSpan>.Func |
Builds a Policy that will wait and retry indefinitely calling onRetry on each retry with the raised exception and execution context.
|
|
WaitAndRetryForever ( this policyBuilder, TimeSpan>.Func |
Builds a Policy that will wait and retry indefinitely calling onRetry on each retry with the raised exception.
|
public static Retry ( this policyBuilder ) : |
||
policyBuilder | this | The policy builder. |
return |
public static Retry ( this policyBuilder, Action |
||
policyBuilder | this | The policy builder. |
onRetry | Action |
The action to call on each retry. |
return |
public static Retry ( this policyBuilder, int>.Action |
||
policyBuilder | this | The policy builder. |
onRetry | int>.Action | The action to call on each retry. |
return |
public static Retry ( this policyBuilder, int retryCount ) : |
||
policyBuilder | this | The policy builder. |
retryCount | int | The retry count. |
return |
public static Retry ( this policyBuilder, int retryCount, Action |
||
policyBuilder | this | The policy builder. |
retryCount | int | The retry count. |
onRetry | Action |
The action to call on each retry. |
return |
public static Retry ( this policyBuilder, int retryCount, int>.Action |
||
policyBuilder | this | The policy builder. |
retryCount | int | The retry count. |
onRetry | int>.Action | The action to call on each retry. |
return |
public static RetryForever ( this policyBuilder ) : |
||
policyBuilder | this | The policy builder. |
return |
public static RetryForever ( this policyBuilder, Context>.Action |
||
policyBuilder | this | The policy builder. |
onRetry | Context>.Action | The action to call on each retry. |
return |
public static RetryForever ( this policyBuilder, Action |
||
policyBuilder | this | The policy builder. |
onRetry | Action |
The action to call on each retry. |
return |
public static WaitAndRetry ( this policyBuilder, IEnumerable |
||
policyBuilder | this | The policy builder. |
sleepDurations | IEnumerable |
The sleep durations to wait for on each retry. |
return |
public static WaitAndRetry ( this policyBuilder, IEnumerable |
||
policyBuilder | this | The policy builder. |
sleepDurations | IEnumerable |
The sleep durations to wait for on each retry. |
onRetry | Action |
The action to call on each retry. |
return |
public static WaitAndRetry ( this policyBuilder, IEnumerable |
||
policyBuilder | this | The policy builder. |
sleepDurations | IEnumerable |
The sleep durations to wait for on each retry. |
onRetry | Action |
The action to call on each retry. |
return |
public static WaitAndRetry ( this policyBuilder, IEnumerable |
||
policyBuilder | this | The policy builder. |
sleepDurations | IEnumerable |
The sleep durations to wait for on each retry. |
onRetry | TimeSpan>.Action | The action to call on each retry. |
return |
public static WaitAndRetry ( this policyBuilder, int retryCount, TimeSpan>.Func |
||
policyBuilder | this | The policy builder. |
retryCount | int | The retry count. |
sleepDurationProvider | TimeSpan>.Func | The function that provides the duration to wait for for a particular retry attempt. |
return |
public static WaitAndRetry ( this policyBuilder, int retryCount, TimeSpan>.Func |
||
policyBuilder | this | The policy builder. |
retryCount | int | The retry count. |
sleepDurationProvider | TimeSpan>.Func | The function that provides the duration to wait for for a particular retry attempt. |
onRetry | Action |
The action to call on each retry. |
return |
public static WaitAndRetry ( this policyBuilder, int retryCount, TimeSpan>.Func |
||
policyBuilder | this | The policy builder. |
retryCount | int | The retry count. |
sleepDurationProvider | TimeSpan>.Func | The function that provides the duration to wait for for a particular retry attempt. |
onRetry | Action |
The action to call on each retry. |
return |
public static WaitAndRetry ( this policyBuilder, int retryCount, TimeSpan>.Func |
||
policyBuilder | this | The policy builder. |
retryCount | int | The retry count. |
sleepDurationProvider | TimeSpan>.Func | The function that provides the duration to wait for for a particular retry attempt. |
onRetry | TimeSpan>.Action | The action to call on each retry. |
return |
public static WaitAndRetryForever ( this policyBuilder, TimeSpan>.Func |
||
policyBuilder | this | The policy builder. |
sleepDurationProvider | TimeSpan>.Func | The function that provides the duration to wait for for a particular retry attempt. |
return |
public static WaitAndRetryForever ( this policyBuilder, TimeSpan>.Func |
||
policyBuilder | this | The policy builder. |
sleepDurationProvider | TimeSpan>.Func | |
onRetry | Action |
The action to call on each retry. |
return |
public static WaitAndRetryForever ( this policyBuilder, TimeSpan>.Func |
||
policyBuilder | this | The policy builder. |
sleepDurationProvider | TimeSpan>.Func | |
onRetry | TimeSpan>.Action | The action to call on each retry. |
return |