Class LogarithmicTimeout
Implements a logarithmic increasing timeout.
public class LogarithmicTimeout : Timeout
- Inheritance
-
LogarithmicTimeout
- Inherited Members
Constructors
- LogarithmicTimeout(TimeSpan, Func<bool>)
Creates a new instance where stages are the logarithm multiplied by the
baseDelay
(starts fast then slows).
Properties
- Span
Gets the current calculated Span based on the stage.
Methods
- AdvanceStage()
Increments the stage to increase the timeout.
- Reset()
Resets the stage back to zero.