BudgetUtilisation
class BudgetUtilisation(windows: List<WindowUtilisation>, val pausedFor: Duration, val waiting: Int)(source)
A reading of the budget: each rate window's current period (windows, in declaration order), how long the budget is paused (pausedFor, zero for none) and how many calls wait (waiting).
Stable Core. Public constructor so an implementer of the port can build one. Equality is on the three properties; toString() prints them.
Parameters
windows
each window's current period, in declaration order.
pausedFor
how long the budget is paused; zero for none; not negative.
waiting
how many calls wait for a slot; not negative.