- Enclosing class:
- TimeWindowLeaderboardWindowUpdate
public static class TimeWindowLeaderboardWindowUpdate.TimeWindowSpec
extends Object
A specification of a set of sliding time windows.
The time windows are all of type type
.
There are count
of them.
The earliest one starts at baseTimestamp
.
The following ones are spaced startIncrement
apart.
They are duration
wide.
So, for example, to have daily time windows accurate to six hours, and assuming that time units are seconds,
new TimeWindowSpec(DAILY, midnight, 6 * 60 * 60, 24 * 60 * 60, 4)