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:
objectClass wrapping the health check gRPC service of Fluent.
Methods
check_health()
Check the health of the Fluent connection.
Classes:
Status(*values)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.
- __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.
- Parameters:
- timeout
int timeout in seconds
- timeout
- Raises:
TimeoutErrorIf the connection to the Fluent server could not be established within the timeout.