Go to the documentation of this file.
19 #ifndef GRPCPP_HEALTH_CHECK_SERVICE_INTERFACE_IMPL_H
20 #define GRPCPP_HEALTH_CHECK_SERVICE_INTERFACE_IMPL_H
55 #endif // GRPCPP_HEALTH_CHECK_SERVICE_INTERFACE_IMPL_H
virtual void SetServingStatus(const grpc::string &service_name, bool serving)=0
Set or change the serving status of the given service_name.
The gRPC server uses this interface to expose the health checking service without depending on protob...
Definition: health_check_service_interface_impl.h:28
virtual ~HealthCheckServiceInterface()
Definition: health_check_service_interface_impl.h:30
void EnableDefaultHealthCheckService(bool enable)
Enable/disable the default health checking service.
virtual void Shutdown()
Set all registered service names to not serving and prevent future state changes.
Definition: health_check_service_interface_impl.h:40
std::string string
Definition: config.h:35
bool DefaultHealthCheckServiceEnabled()
Returns whether the default health checking service is enabled.
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm_impl.h:33