6#include <userver/components/component_base.hpp>
7#include <userver/dynamic_config/snapshot.hpp>
8#include <userver/server/congestion_control/limiter.hpp>
9#include <userver/server/congestion_control/sensor.hpp>
10#include <userver/utils/fast_pimpl.hpp>
11#include <userver/utils/statistics/entry.hpp>
13USERVER_NAMESPACE_BEGIN
49 ~Component()
override;
53 server::congestion_control::Limiter& GetServerLimiter();
54 server::congestion_control::Sensor& GetServerSensor();
57 void OnConfigUpdate(
const dynamic_config::Snapshot& cfg);
59 void OnAllComponentsLoaded()
override;
61 void OnAllComponentsAreStopping()
override;
63 void ExtendWriter(
utils::statistics::Writer& writer);
66 utils::FastPimpl<Impl, 704, 16> pimpl_;
72inline constexpr bool components::kHasValidate<congestion_control::Component> =
true;