6#include <userver/components/component_base.hpp>
7#include <userver/dist_lock/dist_locked_worker.hpp>
8#include <userver/storages/postgres/dist_lock_strategy.hpp>
9#include <userver/utils/statistics/entry.hpp>
11USERVER_NAMESPACE_BEGIN
13namespace storages::postgres {
76 DistLockComponentBase(
const components::ComponentConfig&,
const components::ComponentContext&);
78 ~DistLockComponentBase() override;
85 static yaml_config::Schema GetStaticConfigSchema();
129 std::unique_ptr<
dist_lock::DistLockedWorker> worker_;
131 bool testsuite_enabled_{
false};