RetryStrategy Property
Definition
- Namespace
- Cuemon.Resilience
- Assemblies
- Cuemon.Resilience.dll
RetryStrategy
Gets or sets the function delegate that determines the amount of time to wait for a transient fault to recover gracefully before trying a new attempt.
public Func<int, TimeSpan> RetryStrategy { get; set; }
Property Value
- Func<int, TimeSpan>
A Func<TResult> that determines the amount of time to wait for a transient fault to recover gracefully.
Remarks
Default implementation is int + 2^ to a maximum of 5; eg. 1, 2, 4, 8, 16 to a total of 32 seconds.