C# Class Amazon.DynamoDBv2.Internal.DynamoDBRetryPolicy

Custom DynamoDB retry policy. This policy has a slightly different exponential backoff logic compared to the default retry policy.
Inheritance: Amazon.Runtime.Internal.DefaultRetryPolicy
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
DynamoDBRetryPolicy ( IClientConfig config ) : System

Constructor for DynamoDBRRetryPolicy.

WaitBeforeRetry ( IExecutionContext executionContext ) : void

Overriden to cause a pause between retries.

Private Methods

Méthode Description
pauseExponentially ( int retries ) : void

Override the pausing function so retries would happen more frequent then the default operation.

Method Details

DynamoDBRetryPolicy() public méthode

Constructor for DynamoDBRRetryPolicy.
public DynamoDBRetryPolicy ( IClientConfig config ) : System
config IClientConfig The IClientConfig object
Résultat System

WaitBeforeRetry() public méthode

Overriden to cause a pause between retries.
public WaitBeforeRetry ( IExecutionContext executionContext ) : void
executionContext IExecutionContext
Résultat void