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)#
Bases:
object
Class wrapping the health check gRPC service of Fluent.
Methods
Check the health of the Fluent connection.
Classes:
Status
(value)Health check status.
Methods:
__init__
(channel, metadata)__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)#
__init__ method of HealthCheckService class.
- check_health()#
Check the health of the Fluent connection.