Class BasicAliveHealthIndicator
java.lang.Object
com.kingsrook.qqq.middleware.health.indicators.BasicAliveHealthIndicator
- All Implemented Interfaces:
HealthIndicator
Basic health indicator that just reports UP always.
This indicator:
- Basic health check that always returns UP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecute the memory health checkgetName()Get the name of this health indicator
-
Constructor Details
-
BasicAliveHealthIndicator
public BasicAliveHealthIndicator()Constructor
-
-
Method Details
-
getName
Get the name of this health indicator- Specified by:
getNamein interfaceHealthIndicator- Returns:
- indicator name (e.g., "database", "memory", "diskSpace")
-
check
Execute the memory health check- Specified by:
checkin interfaceHealthIndicator- Parameters:
qInstance- the QInstance for accessing backends, configuration, etc.- Returns:
- health check result with status and details
- Throws:
QException- if the check fails catastrophically
-