The gRPC server uses this interface to expose the health checking service without depending on protobuf.
More...
#include <health_check_service_interface_impl.h>
The gRPC server uses this interface to expose the health checking service without depending on protobuf.
◆ ~HealthCheckServiceInterface()
virtual grpc_impl::HealthCheckServiceInterface::~HealthCheckServiceInterface |
( |
| ) |
|
|
inlinevirtual |
◆ SetServingStatus() [1/2]
virtual void grpc_impl::HealthCheckServiceInterface::SetServingStatus |
( |
bool |
serving | ) |
|
|
pure virtual |
Apply to all registered service names.
◆ SetServingStatus() [2/2]
virtual void grpc_impl::HealthCheckServiceInterface::SetServingStatus |
( |
const grpc::string & |
service_name, |
|
|
bool |
serving |
|
) |
| |
|
pure virtual |
Set or change the serving status of the given service_name.
◆ Shutdown()
virtual void grpc_impl::HealthCheckServiceInterface::Shutdown |
( |
| ) |
|
|
inlinevirtual |
Set all registered service names to not serving and prevent future state changes.
The documentation for this class was generated from the following file: