Uses of Class
com.kingsrook.qqq.backend.core.health.HealthCheckOutcome
Packages that use HealthCheckOutcome
-
Uses of HealthCheckOutcome in com.kingsrook.qqq.backend.core.health
Methods in com.kingsrook.qqq.backend.core.health that return HealthCheckOutcomeModifier and TypeMethodDescriptionstatic HealthCheckOutcomeCreate a degraded outcome.static HealthCheckOutcomeCreate a down outcome.HealthRunner.getLastOutcome(String name) Last sanitized outcome, including probes made during a storage outage.HealthCheck.run(HealthCheckInput input) Run the probe; expected failures should be returned as outcomes.HealthSchedulerCheck.run(HealthCheckInput input) Missing initialization is unknown; stopped after initialization is down.HealthSessionStoreCheck.run(HealthCheckInput input) Always remove the probe, including a failed load.On-demand uses a unique request id and deliberately ignores enabled.static HealthCheckOutcomeCreate a unknown outcome.static HealthCheckOutcomeCreate a up outcome.HealthCheckOutcome.withDetails(HealthDetails details) Fluent setter for detailsHealthCheckOutcome.withLatencyMs(Long latencyMs) Fluent setter for latencyMsHealthCheckOutcome.withMessage(String message) Fluent setter for messageHealthCheckOutcome.withMetrics(List<HealthMetric> metrics) Fluent setter for metricsHealthCheckOutcome.withStatus(HealthStatus status) Fluent setter for statusMethods in com.kingsrook.qqq.backend.core.health with parameters of type HealthCheckOutcomeModifier and TypeMethodDescriptionHealthTransitionEvaluator.evaluate(QRecord previous, HealthCheckOutcome outcome, int failureThreshold, int recoveryThreshold, Instant now) UNKNOWN breaks consecutive streaks but never changes state or raises alerts. -
Uses of HealthCheckOutcome in com.kingsrook.qqq.middleware.health
Methods in com.kingsrook.qqq.middleware.health that return HealthCheckOutcomeModifier and TypeMethodDescriptionHealthIndicatorCheck.run(HealthCheckInput input) Only supported scalar details cross the core allow-list and redactor.