public interface Window<T>
A view of events in a sliding window.
Modifier and Type | Method and Description |
---|---|
List<T> |
get()
Gets the list of events in the window.
|
List<T> |
getExpired()
Get the list of events expired from the window since the last time the window was generated.
|
List<T> |
getNew()
Get the list of newly added events in the window since the last time the window was generated.
|
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.