@Health @ApplicationScoped public class HealthCheckService extends Object implements org.eclipse.microprofile.health.HealthCheck
The service returns the count of workflow models
Example:
{"data":{"archive.version":2.2.0},"name":"imixs-archive","state":"UP"}
This check indicates the overall status of the cassandra cluster.
| Constructor and Description |
|---|
HealthCheckService() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.health.HealthCheckResponse |
call()
This is the implementation for the health check call back method.
|
public org.eclipse.microprofile.health.HealthCheckResponse call()
The method returns the status 'UP' if a valid cluster session exits.
Example:
{"data":{"archive.version":2.2.0},"name":"imixs-archive","state":"UP"}
call in interface org.eclipse.microprofile.health.HealthCheckCopyright © 2016–2020 Imixs Software Solutions GmbH. All rights reserved.