|
aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <S3.h>
Public Member Functions | |
| S3RetryStrategy (const S3RetryStrategy &)=delete | |
| S3RetryStrategy & | operator= (const S3RetryStrategy &)=delete |
| S3RetryStrategy (S3RetryStrategy &&other) noexcept=default | |
| S3RetryStrategy & | operator= (S3RetryStrategy &&other) noexcept=default |
| ~S3RetryStrategy () noexcept=default | |
| operator bool () const noexcept | |
Static Public Member Functions | |
| static S3RetryStrategy | CreateStandard () noexcept |
| static S3RetryStrategy | CreateExponentialBackoff (Io::EventLoopGroup &elGroup, const S3RetryStrategyExponentialBackoffOptions &options={}) noexcept |
| static S3RetryStrategy | CreateNoRetry () noexcept |
C++ binding over a CRT aws_retry_strategy handle. Owns the handle and releases it on destruction; construct one with the static Create* factories. Hand the result to S3ClientConfig::SetRetryStrategy or return it from a SetRetryStrategyFactory callback - the S3 client acquires its own reference at construction, so the binding may be destroyed afterward.
Move-only: the underlying handle has single-owner semantics here.
|
delete |
|
defaultnoexcept |
|
defaultnoexcept |
|
staticnoexcept |
Build an exponential-backoff retry strategy. Requires an event loop group to schedule the backoff timers on.
| elGroup | event loop group used to schedule retries. |
| options | backoff tuning knobs. |
|
staticnoexcept |
Build a strategy that disables retries.
|
staticnoexcept |
Build a token-bucket standard retry strategy.
|
inlineexplicitnoexcept |
|
delete |
|
defaultnoexcept |