Home
last modified time | relevance | path

Searched refs:services_map_ (Results 1 – 2 of 2) sorted by relevance

/third_party/grpc/src/cpp/server/health/
Ddefault_health_check_service.cc42 services_map_[""].SetServingStatus(SERVING); in DefaultHealthCheckService()
52 services_map_[service_name].SetServingStatus(serving ? SERVING : NOT_SERVING); in SetServingStatus()
61 for (auto& p : services_map_) { in SetServingStatus()
73 for (auto& p : services_map_) { in Shutdown()
83 auto it = services_map_.find(service_name); in GetServingStatus()
84 if (it == services_map_.end()) { in GetServingStatus()
95 ServiceData& service_data = services_map_[service_name]; in RegisterCallHandler()
105 auto it = services_map_.find(service_name); in UnregisterCallHandler()
106 if (it == services_map_.end()) return; in UnregisterCallHandler()
110 services_map_.erase(it); in UnregisterCallHandler()
Ddefault_health_check_service.h278 std::map<std::string, ServiceData> services_map_; // Guarded by mu_. variable