Class PollyRetrySettings
- Namespace
- WorkflowForge.Extensions.Resilience.Polly.Options
- Assembly
- WorkflowForge.Extensions.Resilience.Polly.dll
Configuration settings for Polly retry behavior.
public sealed class PollyRetrySettings
- Inheritance
-
PollyRetrySettings
- Inherited Members
Properties
BackoffType
Gets or sets the backoff strategy (Linear, Exponential, etc.).
public string BackoffType { get; set; }
Property Value
BaseDelay
Gets or sets the base delay between retries.
public TimeSpan BaseDelay { get; set; }
Property Value
IsEnabled
Gets or sets whether retry is enabled.
public bool IsEnabled { get; set; }
Property Value
MaxRetryAttempts
Gets or sets the maximum number of retry attempts.
public int MaxRetryAttempts { get; set; }
Property Value
UseJitter
Gets or sets whether to use jitter for retry delays.
public bool UseJitter { get; set; }
Property Value
Methods
Clone()
Creates a shallow copy of this PollyRetrySettings instance.
public PollyRetrySettings Clone()