Show / Hide Table of Contents

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 Source

BackoffStrategy

Gets the backoff strategy.

Declaration
public IBackoffStrategy BackoffStrategy { get; }
Property Value
Type Description
IBackoffStrategy
| Improve this Doc View Source

MaxRetries

Gets the maximum number of retries.

Declaration
public int MaxRetries { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Builder()

Gets the Builder of the RetryPolicy class.

Declaration
public static RetryPolicy.RetryPolicyBuilder Builder()
Returns
Type Description
RetryPolicy.RetryPolicyBuilder

The builder of RetryPolicy.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX