WindowSnapshot
The count of one hard window in one period: used units charged in the period that started at windowStartEpochMillis (a multiple of the window's period since the epoch).
Stable Core. Equality is on the three properties; toString() prints the name and the numbers only.
Parameters
window
the window's name, as RateWindow.name spells it; not blank.
windowStartEpochMillis
the start of the period, in epoch milliseconds.
used
the units counted in the period, in cost units; not negative.
Throws
Properties
Link copied to clipboard
The window's name, as RateWindow.name spells it; not blank.
Link copied to clipboard
The start of the period, in epoch milliseconds.
Functions
Link copied to clipboard
Two WindowSnapshots are equal when their window, windowStartEpochMillis and used are equal.