Package org.imixs.archive.service
Class HealthCheckService
java.lang.Object
org.imixs.archive.service.HealthCheckService
- All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck
@Health
@ApplicationScoped
public class HealthCheckService
extends Object
implements org.eclipse.microprofile.health.HealthCheck
The Imixs HealthCheckService implements the Microservice HealthCheck
interface.
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.
- Version:
- 1.0
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.health.HealthCheckResponsecall()This is the implementation for the health check call back method.
-
Constructor Details
-
HealthCheckService
public HealthCheckService()
-
-
Method Details
-
call
public org.eclipse.microprofile.health.HealthCheckResponse call()This is the implementation for the health check call back method.The method returns the status 'UP' if a valid cluster session exits.
Example:
{"data":{"archive.version":2.2.0},"name":"imixs-archive","state":"UP"}- Specified by:
callin interfaceorg.eclipse.microprofile.health.HealthCheck
-