
Public Member Functions | |
| def | __init__ (self, experimental_non_blocking=True, experimental_thread_pool=None) |
| def | Check (self, request, context) |
| def | enter_graceful_shutdown (self) |
| def | set (self, service, status) |
| def | Watch (self, request, context, send_response_callback=None) |
Private Member Functions | |
| def | _on_close_callback (self, send_response_callback, service) |
Private Attributes | |
| _gracefully_shutting_down | |
| _lock | |
| _send_response_callbacks | |
| _server_status | |
| def grpc_health.v1.health.HealthServicer.__init__ | ( | self, | |
experimental_non_blocking = True, |
|||
experimental_thread_pool = None |
|||
| ) |
|
private |
| def grpc_health.v1.health.HealthServicer.Check | ( | self, | |
| request, | |||
| context | |||
| ) |
| def grpc_health.v1.health.HealthServicer.enter_graceful_shutdown | ( | self | ) |
Permanently sets the status of all services to NOT_SERVING. This should be invoked when the server is entering a graceful shutdown period. After this method is invoked, future attempts to set the status of a service will be ignored. This is an EXPERIMENTAL API.
| def grpc_health.v1.health.HealthServicer.set | ( | self, | |
| service, | |||
| status | |||
| ) |
| def grpc_health.v1.health.HealthServicer.Watch | ( | self, | |
| request, | |||
| context, | |||
send_response_callback = None |
|||
| ) |
|
private |
|
private |
|
private |