T
- The type of elements that this WindowBuffer
can store.O
- The type of elements that this window buffer will return when asked for its contents.@Internal public interface EvictingWindowBuffer<T,O> extends WindowBuffer<T,O>
WindowBuffer
that can also evict elements from the buffer. The order in which
the elements are added is preserved. Elements can only be evicted started from the beginning of
the buffer.Modifier and Type | Method and Description |
---|---|
void |
removeElements(int count)
Removes the given number of elements, starting from the beginning.
|
getElements, getUnpackedElements, size, snapshot, storeElement
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.