Searched refs:ChannelzRegistry (Results 1 – 11 of 11) sorted by relevance
39 ChannelzRegistry* g_channelz_registry = nullptr;43 void ChannelzRegistry::Init() { g_channelz_registry = New<ChannelzRegistry>(); } in Init()45 void ChannelzRegistry::Shutdown() { Delete(g_channelz_registry); } in Shutdown()47 ChannelzRegistry* ChannelzRegistry::Default() { in Default()52 ChannelzRegistry::ChannelzRegistry() { gpr_mu_init(&mu_); } in ChannelzRegistry() function in grpc_core::channelz::ChannelzRegistry54 ChannelzRegistry::~ChannelzRegistry() { gpr_mu_destroy(&mu_); } in ~ChannelzRegistry()56 intptr_t ChannelzRegistry::InternalRegister(BaseNode* node) { in InternalRegister()63 void ChannelzRegistry::InternalUnregister(intptr_t uuid) { in InternalUnregister()70 BaseNode* ChannelzRegistry::InternalGet(intptr_t uuid) { in InternalGet()78 char* ChannelzRegistry::InternalGetTopChannels(intptr_t start_channel_id) { in InternalGetTopChannels()[all …]
35 class ChannelzRegistry {65 ChannelzRegistry();66 ~ChannelzRegistry();69 static ChannelzRegistry* Default();
45 : type_(type), uuid_(ChannelzRegistry::Register(this)) {} in BaseNode()47 BaseNode::~BaseNode() { ChannelzRegistry::Unregister(uuid_); } in ~BaseNode()
48 intptr_t uuid = ChannelzRegistry::Register(channelz_channel); in TEST()53 ChannelzRegistry::Unregister(uuid); in TEST()62 uuids.push_back(ChannelzRegistry::Register(channelz_channel)); in TEST()72 intptr_t uuid = ChannelzRegistry::Register(channelz_channel); in TEST()73 BaseNode* retrieved = ChannelzRegistry::Get(uuid); in TEST()81 intptr_t uuid = ChannelzRegistry::Register(channelz_channel); in TEST()82 BaseNode* retrieved = ChannelzRegistry::Get(uuid); in TEST()90 intptr_t uuid = ChannelzRegistry::Register(channelz_channel); in TEST()92 BaseNode* nonexistant = ChannelzRegistry::Get(uuid + 1); in TEST()94 BaseNode* retrieved = ChannelzRegistry::Get(uuid); in TEST()
88 char* json_str = ChannelzRegistry::GetTopChannels(0); in ValidateGetTopChannels()107 char* json_str = ChannelzRegistry::GetServers(0); in ValidateGetServers()
43 ChannelzRegistry* g_channelz_registry = nullptr;49 void ChannelzRegistry::Init() { g_channelz_registry = new ChannelzRegistry(); } in Init()51 void ChannelzRegistry::Shutdown() { delete g_channelz_registry; } in Shutdown()53 ChannelzRegistry* ChannelzRegistry::Default() { in Default()58 void ChannelzRegistry::InternalRegister(BaseNode* node) { in InternalRegister()64 void ChannelzRegistry::InternalUnregister(intptr_t uuid) { in InternalUnregister()71 RefCountedPtr<BaseNode> ChannelzRegistry::InternalGet(intptr_t uuid) { in InternalGet()84 std::string ChannelzRegistry::InternalGetTopChannels( in InternalGetTopChannels()124 std::string ChannelzRegistry::InternalGetServers(intptr_t start_server_id) { in InternalGetServers()163 void ChannelzRegistry::InternalLogAllEntities() { in InternalLogAllEntities()[all …]
38 class ChannelzRegistry {72 static ChannelzRegistry* Default();
60 ChannelzRegistry::Register(this); in BaseNode()63 BaseNode::~BaseNode() { ChannelzRegistry::Unregister(uuid_); } in ~BaseNode()
104 friend class ChannelzRegistry;
130 grpc_core::channelz::ChannelzRegistry::Init(); in grpc_init()179 grpc_core::channelz::ChannelzRegistry::Shutdown(); in grpc_shutdown()
146 grpc_core::channelz::ChannelzRegistry::Init(); in grpc_init()192 grpc_core::channelz::ChannelzRegistry::Shutdown(); in grpc_shutdown_internal_locked()