AWS SDK for C++AWS SDK for C++ Version 1.11.788 |
#include <AdaptiveRetryStrategy.h>
A retry strategy that builds on the standard strategy and introduces congestion control through client side rate limiting.
Definition at line 118 of file AdaptiveRetryStrategy.h.
3)
C-tors
3
Get return strategy name.
Reimplemented from Aws::Client::RetryStrategy.
Definition at line 142 of file AdaptiveRetryStrategy.h.
Retrieve and consume a send token. Returns true if send token is available.
If there is not sufficient capacity, HasSendToken() will either sleep a certain amount of time until the rate limiter can retrieve a token from its token bucket or return false indicating there is insufficient capacity.
Reimplemented from Aws::Client::RetryStrategy.
Update status, like the information of retry quota when receiving a response.
Reimplemented from Aws::Client::StandardRetryStrategy.
Reimplemented from Aws::Client::StandardRetryStrategy.
Definition at line 146 of file AdaptiveRetryStrategy.h.
Definition at line 145 of file AdaptiveRetryStrategy.h.