Class ApplicationLivenessCheck
java.lang.Object
fr.paris.lutece.plugins.health.check.ApplicationLivenessCheck
- All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck
@Liveness
@ApplicationScoped
public class ApplicationLivenessCheck
extends Object
implements org.eclipse.microprofile.health.HealthCheck
MicroProfile Health Liveness check of the Lutece webapp itself, exposed on /health/live.
Down only when a restart of the instance can repair it: webapp not loaded, or threads in deadlock. It does not depend
on the database: an unavailable database is reported by the readiness check, which takes the instance out of the
traffic without restarting it (Lutece reconnects when the database is back).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ApplicationLivenessCheck
public ApplicationLivenessCheck()
-
-
Method Details
-
call
public org.eclipse.microprofile.health.HealthCheckResponse call()- Specified by:
callin interfaceorg.eclipse.microprofile.health.HealthCheck
-