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;
103 std::unique_ptr<OperationsFactory> rw_factory,
104 engine::TaskProcessor& fs_task_processor,
105 dynamic_config::Source config_source,
106 utils::statistics::Storage& statistics_storage,
109 Dumper(Dumper&&) =
delete;
110 Dumper& operator=(Dumper&&) =
delete;
113 const std::string& Name()
const;
148 void OnUpdateCompleted(TimePoint update_time,
UpdateType update_type);
165 Dumper(
const Config& initial_config,
169 utils::FastPimpl<Impl, 1088, 16> impl_;