userver: ydb::CoordinationClient Class Reference
Loading...
Searching...
No Matches
ydb::CoordinationClient Class Referencefinal

Detailed Description

Definition at line 56 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

◆ GetNativeCoordinationClient()

NYdb::NCoordination::TClient & ydb::CoordinationClient::GetNativeCoordinationClient ( )

Get native coordination client

Warning
Use with care! Facilities from <core/include/userver/drivers/subscribable_futures.hpp> can help with non-blocking wait operations.

◆ 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: