DVServiceLevelStatus class

Where a service level stands.

Constructors

DVServiceLevelStatus({required DVServiceLevel level, double? errorRate, double? budgetConsumed, double? coverage, double? requests})
const

Properties

budgetConsumed → double?
The share of the window's budget used so far. Above 1 is past it.
final
budgetRemaining → double?
no setter
coverage → double?
The share of the objective's window the samples span, at most 1.
final
errorRate → double?
Failed over total, across the observed part of the window. Null when no request was observed.
final
exhausted → bool
no setter
hasData → bool
Whether the budget was measured. False for each of the unknowns budgetConsumed describes; requests says which one it is.
no setter
hashCode → int
The hash code for this object.
no setterinherited
level → DVServiceLevel
final
requests → double?
Requests observed across the window; 0 when samples were read and none arrived, null when fewer than two samples were read.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited