Class HealthTransitionEvaluator
java.lang.Object
com.kingsrook.qqq.backend.core.health.HealthTransitionEvaluator
Pure threshold and flap evaluation; the runner persists and dispatches effects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA decision contains only new state and alert intents, with no I/O. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(QRecord previous, HealthCheckOutcome outcome, int failureThreshold, int recoveryThreshold, Instant now) UNKNOWN breaks consecutive streaks but never changes state or raises alerts.
-
Constructor Details
-
HealthTransitionEvaluator
public HealthTransitionEvaluator()
-
-
Method Details
-
evaluate
public HealthTransitionEvaluator.Decision evaluate(QRecord previous, HealthCheckOutcome outcome, int failureThreshold, int recoveryThreshold, Instant now) UNKNOWN breaks consecutive streaks but never changes state or raises alerts.
-