3#include <userver/components/component_context.hpp>
4#include <userver/dump/config.hpp>
5#include <userver/dump/operations.hpp>
6#include <userver/tracing/scope_time.hpp>
15 virtual ~OperationsFactory() =
default;
17 virtual std::unique_ptr<Reader> CreateReader(std::string full_path) = 0;
19 virtual std::unique_ptr<Writer> CreateWriter(std::string full_path,
20 tracing::ScopeTime& scope) = 0;
23std::unique_ptr<dump::OperationsFactory> CreateOperationsFactory(
24 const Config& config,
const components::ComponentContext& context);
26std::unique_ptr<dump::OperationsFactory> CreateDefaultOperationsFactory(
27 const Config& config);