Class DatabaseHealthCheck

  • All Implemented Interfaces:
    org.eclipse.microprofile.health.HealthCheck

    @Readiness
    @Liveness
    public class DatabaseHealthCheck
    extends Object
    implements org.eclipse.microprofile.health.HealthCheck
    The Class DatabaseHealthCheck.
    Author:
    Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Oct 23, 2024
    • Constructor Detail

      • DatabaseHealthCheck

        public DatabaseHealthCheck​(String context)
        Instantiates a new database health check.
        Parameters:
        context - the context
    • Method Detail

      • call

        public org.eclipse.microprofile.health.HealthCheckResponse call()
        Call.
        Specified by:
        call in interface org.eclipse.microprofile.health.HealthCheck
        Returns:
        the health check response