Definition at line 16 of file coordination.hpp.
|
std::uint64_t | GetSessionId () |
|
NYdb::NCoordination::ESessionState | GetSessionState () |
|
NYdb::NCoordination::EConnectionState | GetConnectionState () |
|
void | Close () |
|
void | Ping () |
|
void | Reconnect () |
|
bool | AcquireSemaphore (std::string_view name, const NYdb::NCoordination::TAcquireSemaphoreSettings &settings) |
|
bool | ReleaseSemaphore (std::string_view name) |
|
NYdb::NCoordination::TSemaphoreDescription | DescribeSemaphore (std::string_view name, const NYdb::NCoordination::TDescribeSemaphoreSettings &settings) |
|
void | CreateSemaphore (std::string_view name, std::uint64_t limit) |
|
void | UpdateSemaphore (std::string_view name, std::string_view data) |
|
void | DeleteSemaphore (std::string_view name) |
|
◆ AcquireSemaphore()
bool ydb::CoordinationSession::AcquireSemaphore |
( |
std::string_view | name, |
|
|
const NYdb::NCoordination::TAcquireSemaphoreSettings & | settings ) |
- Warning
- Use
TAcquireSemaphoreSettings::OnAccepted
callback with care, it will be executed on a non-coroutine thread
◆ DescribeSemaphore()
NYdb::NCoordination::TSemaphoreDescription ydb::CoordinationSession::DescribeSemaphore |
( |
std::string_view | name, |
|
|
const NYdb::NCoordination::TDescribeSemaphoreSettings & | settings ) |
- Warning
- Use
TDescribeSemaphoreSettings::OnChanged
callback with care, it will be executed on a non-coroutine thread
The documentation for this class was generated from the following file: