SimpleRetryRecoveryStrategy Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The SimpleRetryRecoveryStrategy type exposes the following members.
Name | Description | |
---|---|---|
SimpleRetryRecoveryStrategy |
Initializes a new instance of the SimpleRetryRecoveryStrategy class.
| |
SimpleRetryRecoveryStrategy(Int32, RecoveryDelay) |
Initializes a new instance of the SimpleRetryRecoveryStrategy class.
|
Name | Description | |
---|---|---|
CollectedExceptions |
Gets the collected exceptions which are caught during the execution and retry attempts of the work.
(Inherited from RecoveryStrategyBase.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute(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.) | |
ExecuteTResult(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.) | |
ExecuteAsync(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.) | |
ExecuteAsyncTResult(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.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsTransientException |
Determines whether the specified exception is a transient exception.
(Overrides RecoveryStrategyBaseIsTransientException(Exception).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnwrapException |
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.) |