6#include <userver/components/component_fwd.hpp>
7#include <userver/components/raw_component_base.hpp>
8#include <userver/concurrent/async_event_source.hpp>
9#include <userver/dynamic_config/snapshot.hpp>
10#include <userver/engine/task/task_processor_fwd.hpp>
11#include <userver/utils/statistics/entry.hpp>
13USERVER_NAMESPACE_BEGIN
70 ManagerControllerComponent(
const components::ComponentConfig& config,
73 ~ManagerControllerComponent()
override;
80 void WriteStatistics(utils::statistics::Writer& writer);
82 void OnConfigUpdate(
const dynamic_config::Snapshot& cfg);
84 const components::Manager& components_manager_;
85 utils::statistics::Entry statistics_holder_;
86 concurrent::AsyncEventSubscriberScope config_subscription_;
90inline constexpr auto kConfigFileMode<ManagerControllerComponent> =