Go to the documentation of this file.
19 #ifndef GRPCPP_HEALTH_CHECK_SERVICE_INTERFACE_H
20 #define GRPCPP_HEALTH_CHECK_SERVICE_INTERFACE_H
27 "grpc.health_check_service_interface";
58 #endif // GRPCPP_HEALTH_CHECK_SERVICE_INTERFACE_H
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
void EnableDefaultHealthCheckService(bool enable)
Enable/disable the default health checking service.
The gRPC server uses this interface to expose the health checking service without depending on protob...
Definition: health_check_service_interface.h:31
virtual void SetServingStatus(const std::string &service_name, bool serving)=0
Set or change the serving status of the given service_name.
const char kHealthCheckServiceInterfaceArg[]
Definition: health_check_service_interface.h:26
virtual ~HealthCheckServiceInterface()
Definition: health_check_service_interface.h:33
virtual void Shutdown()
Set all registered service names to not serving and prevent future state changes.
Definition: health_check_service_interface.h:43
bool DefaultHealthCheckServiceEnabled()
Returns whether the default health checking service is enabled.