RecoveryStrategyDelayType Enumeration |
Specifies the delay type to use with a transient error recovery strategy.
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public enum RecoveryStrategyDelayType
Public Enumeration RecoveryStrategyDelayType
Members
| Member name | Value | Description |
---|
| Exponential | 0 |
Exponential delay: every new retry will be attempted after X^n seconds, where n is the attempt number (so X^1, X^2 etc.) and X is the
delay parameter given.
|
| Linear | 1 |
Linear delay: every new retry will be attempted after X seconds, where X is the delay parameter given.
|
| Random | 2 |
Random delay: every new retry will be attempted after a random number of Y seconds where Y falls in the interval: [1, X], where X is the
delay parameter given.
|
| Custom | 3 |
Custom delay: every new retry will be attempted after Y seconds, where Y is calculated by a custom method, which receives X, the
delay parameter.
|
See Also