11#include <userver/components/component_fwd.hpp>
12#include <userver/dump/helpers.hpp>
13#include <userver/dump/operations.hpp>
14#include <userver/dynamic_config/fwd.hpp>
15#include <userver/engine/task/task_processor_fwd.hpp>
16#include <userver/utils/fast_pimpl.hpp>
17#include <userver/yaml_config/fwd.hpp>
19USERVER_NAMESPACE_BEGIN
21namespace utils::statistics {
34extern const std::string_view kDump;
41 virtual ~DumpableEntity();
43 virtual void GetAndWrite(
dump::
Writer& writer)
const = 0;
45 virtual void ReadAndSet(
dump::
Reader& reader) = 0;
106 const Config& initial_config,
107 std::unique_ptr<OperationsFactory> rw_factory,
108 engine::TaskProcessor& fs_task_processor,
109 dynamic_config::Source config_source,
110 utils::statistics::Storage& statistics_storage,
115 Dumper(Dumper&&) =
delete;
116 Dumper& operator=(Dumper&&) =
delete;
119 const std::string& Name()
const;
154 void OnUpdateCompleted(TimePoint update_time,
UpdateType update_type);
174 utils::FastPimpl<Impl, 1088, 16> impl_;