Click or drag to resize
RecoveryDelay Class
Class which handles calculation of the next delay period (in seconds) based on parameters contained within the class. As defaults it uses for maximumDelay: 30 seconds, for delayParameter: 2 and for delayType: RecoveryStrategyDelayType.Exponential.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
public class RecoveryDelay

The RecoveryDelay type exposes the following members.

Public methodRecoveryDelay
Initializes a new instance of the RecoveryDelay class.
Public methodRecoveryDelay(TimeSpan, Int32, RecoveryStrategyDelayType)
Initializes a new instance of the RecoveryDelay class.
Public propertyCustomDelayCalculatorFunc
Gets or sets the custom delay calculator function. Used when the delaytype is 'Custom'. Input is (a, b), where a is the attempt number (so first retry is 1, next is 2 etc.), b is the delayParameter.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextDelayPeriod
Gets the next delay period. Calculates based on the delay type and the delay parameter the next delay for the attempt specified.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also