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
78 ~DistLockComponentBase() override;
82 bool OwnsLock()
const noexcept;
128 std::unique_ptr<dist_lock::DistLockedWorker> worker_;
130 bool testsuite_enabled_{
false};
133 USERVER_NAMESPACE::
utils::statistics::Entry statistics_holder_;