69 ~DistLockComponentBase() override;
129 bool ShouldRunOnHost(
const dynamic_config::Snapshot& config)
const;
130 void OnConfigUpdate(
const dynamic_config::Diff& diff);
132 dynamic_config::Source config_;
133 const std::string name_;
134 const std::string real_host_name_;
135 std::unique_ptr<
dist_lock::DistLockedWorker> worker_;
137 bool testsuite_enabled_{
false};
140 concurrent::AsyncEventSubscriberScope subscription_token_;
143 USERVER_NAMESPACE::utils::statistics::Entry statistics_holder_;