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[, names, module, qualname, ...])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, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
Enum
Health check status.
Attributes:
- __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:
TimeoutError
If the connection to the Fluent server could not be established within the timeout.