![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
A rate limiter's counters for one traffic class. More...
#include <algotradelib/src/network/rate_limit.hpp>
Public Attributes | |
| std::uint64_t | admitted_ {0} |
| Requests admitted. | |
| std::uint64_t | delayed_ {0} |
| Admitted requests that had to wait first (on a polling class, often the trading reserve at work). | |
| std::uint64_t | shed_ {0} |
| Requests refused locally: the queue was full, or the wait would have exceeded the timeout. | |
| std::chrono::nanoseconds | waited_ {0} |
| Total time admitted requests waited. | |
A rate limiter's counters for one traffic class.
Definition at line 344 of file rate_limit.hpp.
| std::uint64_t algotradelib::network::RateLimitGroupStats::admitted_ {0} |
Requests admitted.
Definition at line 346 of file rate_limit.hpp.
| std::uint64_t algotradelib::network::RateLimitGroupStats::delayed_ {0} |
Admitted requests that had to wait first (on a polling class, often the trading reserve at work).
Definition at line 348 of file rate_limit.hpp.
| std::uint64_t algotradelib::network::RateLimitGroupStats::shed_ {0} |
Requests refused locally: the queue was full, or the wait would have exceeded the timeout.
Definition at line 350 of file rate_limit.hpp.
| std::chrono::nanoseconds algotradelib::network::RateLimitGroupStats::waited_ {0} |
Total time admitted requests waited.
Definition at line 352 of file rate_limit.hpp.