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_ |
Definition at line 324 of file subchannel.h.
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.
void grpc_core::Subchannel::HealthWatcherMap::RemoveWatcherLocked | ( | const std::string & | health_check_service_name, |
ConnectivityStateWatcherInterface * | watcher | ||
) |
Definition at line 526 of file subchannel.cc.
|
private |
Definition at line 344 of file subchannel.h.
void grpc_core::Subchannel::HealthWatcherMap::ShutdownLocked |
Definition at line 341 of file subchannel.h.