userver: ydb::CoordinationClient Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
ydb::CoordinationClient Class Referencefinal

Detailed Description

Definition at line 59 of file coordination.hpp.

Public Member Functions

CoordinationSession StartSession (std::string_view path, const NYdb::NCoordination::TSessionSettings &settings)
 
void CreateNode (std::string_view path, const NYdb::NCoordination::TCreateNodeSettings &settings)
 
void AlterNode (std::string_view path, const NYdb::NCoordination::TAlterNodeSettings &settings)
 
void DropNode (std::string_view path)
 
NYdb::NCoordination::TNodeDescription DescribeNode (std::string_view path)
 
NYdb::NCoordination::TClient & GetNativeCoordinationClient ()
 

Member Function Documentation

◆ StartSession()

CoordinationSession ydb::CoordinationClient::StartSession ( std::string_view path,
const NYdb::NCoordination::TSessionSettings & settings )
Warning
Use TSessionSettings::OnStateChanged and TSessionSettings::OnStopped callbacks with care, they will be executed on a non-coroutine thread

The documentation for this class was generated from the following file: