C# Class Moosesoft.Azure.ServiceBus.BackOffDelayStrategy.LinearBackOffDelayStrategy

This strategy performs back off delay calculations using a linear model.
Inheritance: IBackOffDelayStrategy
Afficher le fichier Open project: gtmoose32/moosesoft-azure-servicebus

Méthodes publiques

Méthode Description
Calculate ( int attempts ) : TimeSpan
LinearBackOffDelayStrategy ( TimeSpan initialDelay ) : Moosesoft.Azure.ServiceBus.Abstractions

Initialize a new instance LinearBackOffDelayStrategy.

Method Details

Calculate() public méthode

public Calculate ( int attempts ) : TimeSpan
attempts int
Résultat TimeSpan

LinearBackOffDelayStrategy() public méthode

Initialize a new instance LinearBackOffDelayStrategy.
public LinearBackOffDelayStrategy ( TimeSpan initialDelay ) : Moosesoft.Azure.ServiceBus.Abstractions
initialDelay TimeSpan
Résultat Moosesoft.Azure.ServiceBus.Abstractions