Class BasicAliveHealthIndicator

java.lang.Object
com.kingsrook.qqq.middleware.health.indicators.BasicAliveHealthIndicator
All Implemented Interfaces:
HealthIndicator

public class BasicAliveHealthIndicator extends Object implements HealthIndicator
Basic health indicator that just reports UP always. This indicator: - Basic health check that always returns UP
  • Constructor Details

    • BasicAliveHealthIndicator

      public BasicAliveHealthIndicator()
      Constructor
  • Method Details

    • getName

      public String getName()
      Get the name of this health indicator
      Specified by:
      getName in interface HealthIndicator
      Returns:
      indicator name (e.g., "database", "memory", "diskSpace")
    • check

      public HealthCheckResult check(QInstance qInstance) throws QException
      Execute the memory health check
      Specified by:
      check in interface HealthIndicator
      Parameters:
      qInstance - the QInstance for accessing backends, configuration, etc.
      Returns:
      health check result with status and details
      Throws:
      QException - if the check fails catastrophically