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
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
DynamoDBRetryPolicy ( IClientConfig config ) : System

Constructor for DynamoDBRRetryPolicy.

WaitBeforeRetry ( IExecutionContext executionContext ) : void

Overriden to cause a pause between retries.

Private Methods

Method Description
pauseExponentially ( int retries ) : void

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

Method Details

DynamoDBRetryPolicy() public method

Constructor for DynamoDBRRetryPolicy.
public DynamoDBRetryPolicy ( IClientConfig config ) : System
config IClientConfig The IClientConfig object
return System

WaitBeforeRetry() public method

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