19 #ifndef GRPCPP_HEALTH_CHECK_SERVICE_INTERFACE_H 20 #define GRPCPP_HEALTH_CHECK_SERVICE_INTERFACE_H 27 "grpc.health_check_service_interface";
54 #endif // GRPCPP_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
An Alarm posts the user provided tag to its associated completion queue upon expiry or cancellation...
Definition: alarm.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.