Table of Contents

Class FixedBackOff

Namespace
Steeltoe.Common.Util
Assembly
Steeltoe.Common.dll
public class FixedBackOff : IBackOff
Inheritance
FixedBackOff
Implements
Inherited Members

Constructors

FixedBackOff()

public FixedBackOff()

FixedBackOff(int, int)

public FixedBackOff(int interval, int maxAttempts)

Parameters

interval int
maxAttempts int

Fields

DEFAULT_INTERVAL

public const int DEFAULT_INTERVAL = 5000

Field Value

int

STOP

public const int STOP = -1

Field Value

int

UNLIMITED_ATTEMPTS

public const int UNLIMITED_ATTEMPTS = 2147483647

Field Value

int

Properties

Interval

public int Interval { get; set; }

Property Value

int

MaxAttempts

public int MaxAttempts { get; set; }

Property Value

int

Methods

Start()

public IBackOffExecution Start()

Returns

IBackOffExecution