Table of Contents

Class ConfigServerRetryOptions

Namespace
Steeltoe.Configuration.ConfigServer
Assembly
Steeltoe.Configuration.ConfigServer.dll

Holds settings used to configure retries with the Spring Cloud Config Server provider.

public sealed class ConfigServerRetryOptions
Inheritance
ConfigServerRetryOptions
Inherited Members

Properties

Enabled

Gets or sets a value indicating whether retries are enabled on failures. Default value: false.

public bool Enabled { get; set; }

Property Value

bool

InitialInterval

Gets or sets initial retry interval (in milliseconds). Default value: 1000.

public int InitialInterval { get; set; }

Property Value

int

MaxAttempts

Gets or sets the max number of retries the client will attempt. Default value: 6.

public int MaxAttempts { get; set; }

Property Value

int

MaxInterval

Gets or sets max retry interval (in milliseconds). Default value: 2000.

public int MaxInterval { get; set; }

Property Value

int

Multiplier

Gets or sets the multiplier for next retry interval. Default value: 1.1.

public double Multiplier { get; set; }

Property Value

double