Table of Contents

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

string

BaseDelay

Gets or sets the base delay between retries.

public TimeSpan BaseDelay { get; set; }

Property Value

TimeSpan

IsEnabled

Gets or sets whether retry is enabled.

public bool IsEnabled { get; set; }

Property Value

bool

MaxRetryAttempts

Gets or sets the maximum number of retry attempts.

public int MaxRetryAttempts { get; set; }

Property Value

int

UseJitter

Gets or sets whether to use jitter for retry delays.

public bool UseJitter { get; set; }

Property Value

bool

Methods

Clone()

Creates a shallow copy of this PollyRetrySettings instance.

public PollyRetrySettings Clone()

Returns

PollyRetrySettings