WindowUtilisation

constructor(name: String, used: Int, queued: Int, limit: Int, published: Int, windowStartEpochMillis: Long, resetsAtEpochMillis: Long, hard: Boolean, elapsedFraction: Double)(source)

Parameters

name

the window's name; not blank.

used

the count charged against the window this period, in cost units; not negative.

queued

the count reserved for waiters; not negative.

limit

the enforced limit; at least 1.

published

the provider's documented limit; at least limit.

windowStartEpochMillis

the start of the current period, in epoch milliseconds.

resetsAtEpochMillis

the end of the current period, in epoch milliseconds.

hard

whether the window is hard.

elapsedFraction

how far the period has run, in [0, 1].