AWS SDK for C++AWS SDK for C++ Version 1.11.788 |
#include <RateLimiterInterface.h>
Interface for bandwidth limiters. You likely don't want to implement your own as DefaultRateLimiter is probably what you need. If you need to implement one, then this is the interface to implement.
Definition at line 23 of file RateLimiterInterface.h.
Definition at line 26 of file RateLimiterInterface.h.
Definition at line 28 of file RateLimiterInterface.h.
Same as ApplyCost() but then goes ahead and sleeps the current thread.
Implemented in Aws::Utils::RateLimits::DefaultRateLimiter< CLOCK, DUR, RENORMALIZE_RATE_CHANGES >.
Calculates time in milliseconds that should be delayed before letting anymore data through.
Implemented in Aws::Utils::RateLimits::DefaultRateLimiter< CLOCK, DUR, RENORMALIZE_RATE_CHANGES >.
false
Update the bandwidth rate to allow.
Implemented in Aws::Utils::RateLimits::DefaultRateLimiter< CLOCK, DUR, RENORMALIZE_RATE_CHANGES >.