aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Public Attributes | List of all members
Aws::Crt::S3::S3RetryStrategyExponentialBackoffOptions Struct Reference

#include <S3.h>

Public Attributes

size_t maxRetries = 0
 
uint32_t scaleFactorMs = 500
 
uint32_t maxBackoffSecs = 20
 

Detailed Description

Tuning knobs for S3RetryStrategyType::ExponentialBackoff (the parameter type of CreateExponentialBackoff and the options argument to SetRetryStrategy). These knobs are applied only to the exponential-backoff strategy; they are ignored for the Standard and NoRetry flavors.

NOTE: maxRetries is a count, not an on/off switch. A value of 0 does NOT disable retries – aws-c-io treats 0 as "unset" and substitutes its own default (currently 5). To disable retries entirely, select S3RetryStrategyType::NoRetry rather than setting maxRetries to 0.

Member Data Documentation

uint32_t Aws::Crt::S3::S3RetryStrategyExponentialBackoffOptions::maxBackoffSecs = 20

Maximum delay between retries, in seconds.

size_t Aws::Crt::S3::S3RetryStrategyExponentialBackoffOptions::maxRetries = 0

Maximum number of retries (1..63). 0 is treated as "unset" and uses the aws-c-io default (currently 5), not zero retries; for zero retries use S3RetryStrategyType::NoRetry.

uint32_t Aws::Crt::S3::S3RetryStrategyExponentialBackoffOptions::scaleFactorMs = 500

Scaling factor for the backoff, in milliseconds.


The documentation for this struct was generated from the following file: