GRPC C++
1.26.0
|
#include <default_health_check_service.h>
Data Structures | |
class | HealthCheckServiceImpl |
Public Types | |
enum | ServingStatus { NOT_FOUND, SERVING, NOT_SERVING } |
Public Member Functions | |
DefaultHealthCheckService () | |
void | SetServingStatus (const grpc::string &service_name, bool serving) override |
Set or change the serving status of the given service_name. More... | |
void | SetServingStatus (bool serving) override |
Apply to all registered service names. More... | |
void | Shutdown () override |
Set all registered service names to not serving and prevent future state changes. More... | |
ServingStatus | GetServingStatus (const grpc::string &service_name) const |
HealthCheckServiceImpl * | GetHealthCheckService (std::unique_ptr< ServerCompletionQueue > cq) |
![]() | |
virtual | ~HealthCheckServiceInterface () |
grpc::DefaultHealthCheckService::DefaultHealthCheckService | ( | ) |
DefaultHealthCheckService::HealthCheckServiceImpl * grpc::DefaultHealthCheckService::GetHealthCheckService | ( | std::unique_ptr< ServerCompletionQueue > | cq | ) |
DefaultHealthCheckService::ServingStatus grpc::DefaultHealthCheckService::GetServingStatus | ( | const grpc::string & | service_name | ) | const |
|
overridevirtual |
Set or change the serving status of the given service_name.
Implements grpc_impl::HealthCheckServiceInterface.
|
overridevirtual |
Apply to all registered service names.
Implements grpc_impl::HealthCheckServiceInterface.
|
overridevirtual |
Set all registered service names to not serving and prevent future state changes.
Reimplemented from grpc_impl::HealthCheckServiceInterface.