Interface IBackoffStrategy
Interface of Backoff Strategy.
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public interface IBackoffStrategy
Methods
| Improve this Doc View SourceCalculateDelay(RetryPolicyContext)
Method to calculate backoff delay based on the retry policy context.
Declaration
TimeSpan CalculateDelay(RetryPolicyContext retryPolicyContext)
Parameters
| Type | Name | Description |
|---|---|---|
| RetryPolicyContext | retryPolicyContext | The context of retry policy. |
Returns
| Type | Description |
|---|---|
| System.TimeSpan | The calculated delay. |