Package com.tnsai.quality.slo
Enum Class SLOStatus
- All Implemented Interfaces:
Serializable,Comparable<SLOStatus>,Constable
Coarse-grained health bucket for an
SLOState (issue #92).
Drives dashboard color coding and SLOAwareHook degradation
decisions.- Since:
- 0.5.0 (issue #92)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCompliance still above target but the long-window burn rate is elevated — operators should look but no immediate action required.Both short- and long-window burn rates over threshold — the budget is being consumed faster than the window allows.Budget for the rolling window is fully consumed.Compliance is comfortably above target; no burn-rate alerts firing. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
HEALTHY
Compliance is comfortably above target; no burn-rate alerts firing. Status of a healthy production SLO 95%+ of the time. -
AT_RISK
Compliance still above target but the long-window burn rate is elevated — operators should look but no immediate action required. -
BURNING
Both short- and long-window burn rates over threshold — the budget is being consumed faster than the window allows. Active incident. -
EXHAUSTED
Budget for the rolling window is fully consumed. Degradation policies (if configured) take effect.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-