6#include <userver/components/component_fwd.hpp>
7#include <userver/components/impl/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
66class ManagerControllerComponent
final :
public impl::ComponentBase {
68 ManagerControllerComponent(
const components::ComponentConfig& config,
71 ~ManagerControllerComponent()
override;
78 void WriteStatistics(utils::statistics::Writer& writer);
80 void OnConfigUpdate(
const dynamic_config::Snapshot& cfg);
82 const components::Manager& components_manager_;
83 utils::statistics::Entry statistics_holder_;
84 concurrent::AsyncEventSubscriberScope config_subscription_;
88inline constexpr auto kConfigFileMode<ManagerControllerComponent> =