C# Class Spring.Retry.Retry.Backoff.ExponentialBackOffContext

Inheritance: IBackOffContext
Afficher le fichier Open project: spring-projects/spring-net-retry

Méthodes publiques

Méthode Description
ExponentialBackOffContext ( long expSeed, double multiplier, long maxInterval ) : System.Runtime.CompilerServices

Initializes a new instance of the ExponentialBackOffContext class.

Méthodes protégées

Méthode Description
GetNextInterval ( ) : long

The get next interval.

Private Methods

Méthode Description
GetSleepAndIncrement ( ) : long

Method Details

ExponentialBackOffContext() public méthode

Initializes a new instance of the ExponentialBackOffContext class.
public ExponentialBackOffContext ( long expSeed, double multiplier, long maxInterval ) : System.Runtime.CompilerServices
expSeed long The exp seed.
multiplier double The multiplier.
maxInterval long The max interval.
Résultat System.Runtime.CompilerServices

GetNextInterval() protected méthode

The get next interval.
protected GetNextInterval ( ) : long
Résultat long