6#include <userver/components/component_base.hpp>
7#include <userver/dist_lock/dist_locked_worker.hpp>
8#include <userver/storages/mongo/collection.hpp>
9#include <userver/storages/mongo/dist_lock_strategy.hpp>
10#include <userver/utils/statistics/entry.hpp>
12USERVER_NAMESPACE_BEGIN
14namespace storages::mongo {
52 DistLockComponentBase(
53 const components::ComponentConfig&,
54 const components::ComponentContext&,
63 static yaml_config::Schema GetStaticConfigSchema();
108 std::unique_ptr<
dist_lock::DistLockedWorker> worker_;
109 bool testsuite_enabled_{
false};