Uses of Record Class
com.tnsai.quality.slo.SLODefinition
Packages that use SLODefinition
-
Uses of SLODefinition in com.tnsai.quality.slo
Methods in com.tnsai.quality.slo that return SLODefinitionModifier and TypeMethodDescriptionSLOState.definition()Returns the value of thedefinitionrecord component.Methods in com.tnsai.quality.slo that return types with arguments of type SLODefinitionModifier and TypeMethodDescriptionSLORegistry.all()Snapshot of every registered SLO.Look up an SLO by id.SLORegistry.findApplicable(EventScope eventScope) Find every SLO whose scope matches the given event scope — used by the (follow-up)SLOAwareHookto figure out which SLOs apply to an in-flight call.Methods in com.tnsai.quality.slo with parameters of type SLODefinitionModifier and TypeMethodDescriptionInMemorySLOEvaluator.evaluate(SLODefinition def, Instant now) default SLOStateSLOEvaluator.evaluate(SLODefinition definition) Convenience: evaluate as of the wall clock.SLOEvaluator.evaluate(SLODefinition definition, Instant now) Compute the current state ofdefinitionas ofnow.voidSLORegistry.register(SLODefinition definition) Register a new SLO.Method parameters in com.tnsai.quality.slo with type arguments of type SLODefinitionModifier and TypeMethodDescriptionvoidSLORegistry.registerAll(List<SLODefinition> defs) Convenience: register many at once.Constructors in com.tnsai.quality.slo with parameters of type SLODefinitionModifierConstructorDescriptionSLOState(SLODefinition definition, double currentCompliance, double errorBudgetRemaining, BurnRateMetric burn, SLOStatus status, Instant evaluatedAt) Creates an instance of aSLOStaterecord class.