public class SlidingDurationWindow extends BaseWindow
IWindow.Type
slideLength, windowLength
Constructor and Description |
---|
SlidingDurationWindow(long windowLength,
long slideLength) |
Modifier and Type | Method and Description |
---|---|
<T> IWindowStrategy<T> |
getWindowStrategy() |
static SlidingDurationWindow |
of(WindowConfig.Duration windowDuration,
WindowConfig.Duration slidingDuration) |
getSlidingLength, getWindowLength, validate
public SlidingDurationWindow(long windowLength, long slideLength)
public <T> IWindowStrategy<T> getWindowStrategy()
public static SlidingDurationWindow of(WindowConfig.Duration windowDuration, WindowConfig.Duration slidingDuration)