Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
grpc_core::channelz::ChannelzRegistry Class Reference

#include <channelz_registry.h>

Static Public Member Functions

static RefCountedPtr< BaseNodeGet (intptr_t uuid)
 
static std::string GetServers (intptr_t start_server_id)
 
static std::string GetTopChannels (intptr_t start_channel_id)
 
static void LogAllEntities ()
 
static void Register (BaseNode *node)
 
static void TestOnlyReset ()
 
static void Unregister (intptr_t uuid)
 

Private Member Functions

RefCountedPtr< BaseNodeInternalGet (intptr_t uuid)
 
std::string InternalGetServers (intptr_t start_server_id)
 
std::string InternalGetTopChannels (intptr_t start_channel_id)
 
void InternalLogAllEntities ()
 
void InternalRegister (BaseNode *node)
 
void InternalUnregister (intptr_t uuid)
 

Static Private Member Functions

static ChannelzRegistryDefault ()
 

Private Attributes

Mutex mu_
 
std::map< intptr_t, BaseNode * > node_map_
 
intptr_t uuid_generator_ = 0
 

Detailed Description

Definition at line 37 of file channelz_registry.h.

Member Function Documentation

◆ Default()

ChannelzRegistry * grpc_core::channelz::ChannelzRegistry::Default ( )
staticprivate

Definition at line 46 of file channelz_registry.cc.

◆ Get()

static RefCountedPtr<BaseNode> grpc_core::channelz::ChannelzRegistry::Get ( intptr_t  uuid)
inlinestatic

Definition at line 43 of file channelz_registry.h.

◆ GetServers()

static std::string grpc_core::channelz::ChannelzRegistry::GetServers ( intptr_t  start_server_id)
inlinestatic

Definition at line 55 of file channelz_registry.h.

◆ GetTopChannels()

static std::string grpc_core::channelz::ChannelzRegistry::GetTopChannels ( intptr_t  start_channel_id)
inlinestatic

Definition at line 49 of file channelz_registry.h.

◆ InternalGet()

RefCountedPtr< BaseNode > grpc_core::channelz::ChannelzRegistry::InternalGet ( intptr_t  uuid)
private

Definition at line 64 of file channelz_registry.cc.

◆ InternalGetServers()

std::string grpc_core::channelz::ChannelzRegistry::InternalGetServers ( intptr_t  start_server_id)
private

Definition at line 117 of file channelz_registry.cc.

◆ InternalGetTopChannels()

std::string grpc_core::channelz::ChannelzRegistry::InternalGetTopChannels ( intptr_t  start_channel_id)
private

Definition at line 77 of file channelz_registry.cc.

◆ InternalLogAllEntities()

void grpc_core::channelz::ChannelzRegistry::InternalLogAllEntities ( )
private

Definition at line 156 of file channelz_registry.cc.

◆ InternalRegister()

void grpc_core::channelz::ChannelzRegistry::InternalRegister ( BaseNode node)
private

Definition at line 51 of file channelz_registry.cc.

◆ InternalUnregister()

void grpc_core::channelz::ChannelzRegistry::InternalUnregister ( intptr_t  uuid)
private

Definition at line 57 of file channelz_registry.cc.

◆ LogAllEntities()

static void grpc_core::channelz::ChannelzRegistry::LogAllEntities ( )
inlinestatic

Definition at line 61 of file channelz_registry.h.

◆ Register()

static void grpc_core::channelz::ChannelzRegistry::Register ( BaseNode node)
inlinestatic

Definition at line 39 of file channelz_registry.h.

◆ TestOnlyReset()

static void grpc_core::channelz::ChannelzRegistry::TestOnlyReset ( )
inlinestatic

Definition at line 64 of file channelz_registry.h.

◆ Unregister()

static void grpc_core::channelz::ChannelzRegistry::Unregister ( intptr_t  uuid)
inlinestatic

Definition at line 42 of file channelz_registry.h.

Member Data Documentation

◆ mu_

Mutex grpc_core::channelz::ChannelzRegistry::mu_
private

Definition at line 92 of file channelz_registry.h.

◆ node_map_

std::map<intptr_t, BaseNode*> grpc_core::channelz::ChannelzRegistry::node_map_
private

Definition at line 93 of file channelz_registry.h.

◆ uuid_generator_

intptr_t grpc_core::channelz::ChannelzRegistry::uuid_generator_ = 0
private

Definition at line 94 of file channelz_registry.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:38