Class CoherenceHealthChecks

java.lang.Object
com.oracle.coherence.mp.health.CoherenceHealthChecks

@ApplicationScoped public class CoherenceHealthChecks extends Object
A CDI producer that produces Coherence health checks.
Since:
22.06.4
Author:
Jonathan Knight 2023.01.06
  • Field Details

    • HEALTH_CHECK_READINESS

      public static final String HEALTH_CHECK_READINESS
      The name of the Coherence readiness health checks
      See Also:
    • HEALTH_CHECK_LIVENESS

      public static final String HEALTH_CHECK_LIVENESS
      The name of the Coherence liveness health checks
      See Also:
    • HEALTH_CHECK_STARTUP

      public static final String HEALTH_CHECK_STARTUP
      The name of the Coherence start-up health checks
      See Also:
  • Constructor Details

    • CoherenceHealthChecks

      public CoherenceHealthChecks()
      Default constructor required for CDI bean.
    • CoherenceHealthChecks

      public CoherenceHealthChecks(Supplier<? extends Collection<com.tangosol.net.Coherence>> supplier)
      Create a CoherenceHealthChecks instance.
      Parameters:
      supplier - the Coherence instances supplier.
  • Method Details

    • liveness

      @Produces @Liveness public org.eclipse.microprofile.health.HealthCheck liveness()
    • readiness

      @Produces @Readiness public org.eclipse.microprofile.health.HealthCheck readiness()
    • startup

      @Produces @Startup public org.eclipse.microprofile.health.HealthCheck startup()