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

Inheritance: IBackOffContext
ファイルを表示 Open project: spring-projects/spring-net-retry

Public Methods

Method Description
ExponentialBackOffContext ( long expSeed, double multiplier, long maxInterval ) : System.Runtime.CompilerServices

Initializes a new instance of the ExponentialBackOffContext class.

Protected Methods

Method Description
GetNextInterval ( ) : long

The get next interval.

Private Methods

Method Description
GetSleepAndIncrement ( ) : long

Method Details

ExponentialBackOffContext() public method

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.
return System.Runtime.CompilerServices

GetNextInterval() protected method

The get next interval.
protected GetNextInterval ( ) : long
return long