Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
grpc_core::Subchannel::HealthWatcherMap Class Reference

Classes

class  HealthWatcher
 

Public Member Functions

void AddWatcherLocked (WeakRefCountedPtr< Subchannel > subchannel, const std::string &health_check_service_name, RefCountedPtr< ConnectivityStateWatcherInterface > watcher)
 
void RemoveWatcherLocked (const std::string &health_check_service_name, ConnectivityStateWatcherInterface *watcher)
 

Public Attributes

void NotifyLocked(grpc_connectivity_state state, const absl::Status &status) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&Subchannel grpc_connectivity_state CheckConnectivityStateLocked(Subchannel *subchannel, const std::string &health_check_service_name) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&Subchannel voi ShutdownLocked )()
 

Private Attributes

std::map< std::string, OrphanablePtr< HealthWatcher > > map_
 

Detailed Description

Definition at line 324 of file subchannel.h.

Member Function Documentation

◆ AddWatcherLocked()

void grpc_core::Subchannel::HealthWatcherMap::AddWatcherLocked ( WeakRefCountedPtr< Subchannel subchannel,
const std::string &  health_check_service_name,
RefCountedPtr< ConnectivityStateWatcherInterface watcher 
)

Definition at line 506 of file subchannel.cc.

◆ RemoveWatcherLocked()

void grpc_core::Subchannel::HealthWatcherMap::RemoveWatcherLocked ( const std::string &  health_check_service_name,
ConnectivityStateWatcherInterface watcher 
)

Definition at line 526 of file subchannel.cc.

Member Data Documentation

◆ map_

std::map<std::string, OrphanablePtr<HealthWatcher> > grpc_core::Subchannel::HealthWatcherMap::map_
private

Definition at line 344 of file subchannel.h.

◆ ShutdownLocked

void grpc_core::Subchannel::HealthWatcherMap::ShutdownLocked

Definition at line 341 of file subchannel.h.


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


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