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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public class RetryPolicy
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. |