19 #ifndef GRPCXX_HEALTH_CHECK_SERVICE_INTERFACE_H
20 #define GRPCXX_HEALTH_CHECK_SERVICE_INTERFACE_H
27 "grpc.health_check_service_interface";
54 #endif // GRPCXX_HEALTH_CHECK_SERVICE_INTERFACE_H
virtual void SetServingStatus(const grpc::string &service_name, bool serving)=0
Set or change the serving status of the given service_name.
std::string string
Definition: config.h:35
bool DefaultHealthCheckServiceEnabled()
Returns whether the default health checking service is enabled.
The gRPC server uses this interface to expose the health checking service without depending on protob...
Definition: health_check_service_interface.h:31
const char kHealthCheckServiceInterfaceArg[]
Definition: health_check_service_interface.h:26
virtual ~HealthCheckServiceInterface()
Definition: health_check_service_interface.h:33
void EnableDefaultHealthCheckService(bool enable)
Enable/disable the default health checking service.