22class CoordinationSession
final {
26 explicit CoordinationSession(NYdb::NCoordination::TSession&& session);
50 bool AcquireSemaphore(std::string_view name,
const NYdb::NCoordination::TAcquireSemaphoreSettings& settings);
59 std::string_view name,
60 const NYdb::NCoordination::TDescribeSemaphoreSettings& settings
73 NYdb::NCoordination::TSession session_;
82class CoordinationClient
final {
86 explicit CoordinationClient(std::shared_ptr<impl::Driver> driver);
93 CoordinationSession
StartSession(std::string_view path,
const NYdb::NCoordination::TSessionSettings& settings);
96 void CreateNode(std::string_view path,
const NYdb::NCoordination::TCreateNodeSettings& settings);
99 void AlterNode(std::string_view path,
const NYdb::NCoordination::TAlterNodeSettings& settings);
105 NYdb::NCoordination::TNodeDescription
DescribeNode(std::string_view path);
114 std::shared_ptr<impl::Driver> driver_;
115 NYdb::NCoordination::TClient client_;