Class HealthManager

java.lang.Object
io.levysworks.beans.HealthManager

@ApplicationScoped public class HealthManager extends Object
Bean for managing application health status. Provides health check methods used for internal monitoring.
  • Constructor Details

    • HealthManager

      public HealthManager()
  • Method Details

    • isSystemHealthy

      public boolean isSystemHealthy()
      Returns whether all systems are currently healthy.
      Returns:
      true if all systems are healthy, false otherwise
    • checkSystemHealth

      public void checkSystemHealth()
      Scheduled method for checking system health

      Runs every 10 seconds
      Iterates over all readiness checks and updates the internal health status.