Click or drag to resize
SimpleRetryRecoveryStrategy Class
Default recovery stategy which simply re-tries a failed execution of work, no matter what the error is.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesRecoveryStrategyBase
    SD.LLBLGen.Pro.ORMSupportClassesSimpleRetryRecoveryStrategy

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public class SimpleRetryRecoveryStrategy : RecoveryStrategyBase

The SimpleRetryRecoveryStrategy type exposes the following members.

Constructors
  NameDescription
Public methodSimpleRetryRecoveryStrategy
Initializes a new instance of the SimpleRetryRecoveryStrategy class.
Public methodSimpleRetryRecoveryStrategy(Int32, RecoveryDelay)
Initializes a new instance of the SimpleRetryRecoveryStrategy class.
Top
Properties
  NameDescription
Public propertyCollectedExceptions
Gets the collected exceptions which are caught during the execution and retry attempts of the work.
(Inherited from RecoveryStrategyBase.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute(Action)
Executes the specified toExecute func. If it fails with a transient exception it will be retried till either the maximum number of retries has been attempted or the maximum delay has been reached.
(Inherited from RecoveryStrategyBase.)
Public methodExecuteTResult(FuncTResult)
Executes the specified toExecute func. If it fails with a transient exception it will be retried till either the maximum number of retries has been attempted or the maximum delay has been reached.
(Inherited from RecoveryStrategyBase.)
Public methodExecuteAsync(FuncTask, CancellationToken)
Executes the specified toExecute func asynchronously. If it fails with a transient exception it will be retried till either the maximum number of retries has been attempted or the maximum delay has been reached.
(Inherited from RecoveryStrategyBase.)
Public methodExecuteAsyncTResult(FuncTaskTResult, CancellationToken)
Executes the specified toExecute func asynchronously. If it fails with a transient exception it will be retried till either the maximum number of retries has been attempted or the maximum delay has been reached.
(Inherited from RecoveryStrategyBase.)
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsTransientException
Determines whether the specified exception is a transient exception.
(Overrides RecoveryStrategyBaseIsTransientException(Exception).)
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.)
Protected methodUnwrapException
Unwraps the exception specified. Unwrapping is attempted on any ORMException derived exception. If the exception to unwrap isn't an ORMException, it's returned as-is.
(Inherited from RecoveryStrategyBase.)
Top
See Also