health_check#
Wrapper over the health check grpc service of Fluent.
Classes:
|
Class wrapping the health check gRPC service of Fluent. |
- class ansys.fluent.core.services.health_check.HealthCheckService(channel, metadata, fluent_error_state)#
Bases:
object
Class wrapping the health check gRPC service of Fluent.
Methods
check_health()
Check the health of the Fluent connection.
Classes:
Status
(value)Health check status.
Methods:
__init__
(channel, metadata, fluent_error_state)__init__ method of HealthCheckService class.
Check the health of the Fluent connection.
status
()Check health of Fluent connection.
wait_for_server
(timeout)Keeps a watch on the health of the Fluent connection.
Attributes:
Checks whether Fluent is serving.
- class Status(value)#
Bases:
Enum
Health check status.
Attributes:
- NOT_SERVING = 2#
- SERVICE_UNKNOWN = 3#
- SERVING = 1#
- UNKNOWN = 0#
- __init__(channel, metadata, fluent_error_state)#
__init__ method of HealthCheckService class.
- status()#
Check health of Fluent connection.
- wait_for_server(timeout)#
Keeps a watch on the health of the Fluent connection.
Response changes only when the service’s serving status changes.