Class DatabaseReadinessCheck

java.lang.Object
fr.paris.lutece.plugins.health.check.DatabaseReadinessCheck
All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck

@Readiness @ApplicationScoped public class DatabaseReadinessCheck extends Object
MicroProfile Health Readiness check for database connectivity. Exposed on /health/ready — is the database reachable before accepting traffic?
  • Constructor Details

    • DatabaseReadinessCheck

      public DatabaseReadinessCheck()
  • Method Details

    • call

      public org.eclipse.microprofile.health.HealthCheckResponse call()
      Specified by:
      call in interface org.eclipse.microprofile.health.HealthCheck