Class RetryPolicy
RetryPolicy used to retry the transactions. The default max retries is 4, and the default backoff strategy is ExponentBackoffStrategy.
Inheritance
System.Object
RetryPolicy
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public class RetryPolicy : object
Properties
| Improve this Doc View SourceBackoffStrategy
Gets the backoff strategy.
Declaration
public IBackoffStrategy BackoffStrategy { get; }
Property Value
Type | Description |
---|---|
IBackoffStrategy |
MaxRetries
Gets the maximum number of retries.
Declaration
public int MaxRetries { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceBuilder()
Gets the Builder of the RetryPolicy class.
Declaration
public static RetryPolicy.RetryPolicyBuilder Builder()
Returns
Type | Description |
---|---|
RetryPolicy.RetryPolicyBuilder | The builder of RetryPolicy. |