Package io.levysworks.beans
Class HealthManager
java.lang.Object
io.levysworks.beans.HealthManager
Bean for managing application health status.
Provides health check methods used for internal monitoring.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidScheduled method for checking system healthbooleanReturns whether all systems are currently healthy.
-
Constructor Details
-
HealthManager
public HealthManager()
-
-
Method Details
-
isSystemHealthy
public boolean isSystemHealthy()Returns whether all systems are currently healthy.- Returns:
trueif all systems are healthy,falseotherwise
-
checkSystemHealth
public void checkSystemHealth()Scheduled method for checking system healthRuns every
10seconds
Iterates over all readiness checks and updates the internal health status.
-