Interface SlidingWindowTrimmer<V>
public interface SlidingWindowTrimmer<V>
The trimmer of an associated sliding window.
- Author:
- Stepan Vavra
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetTimeReservoir(TimeReservoir<V> reservoir) voidtrim(ConcurrentNavigableMap<Long, V> map, long key) Trim the measurements provided as the map from the head up to the key (not inclusive).
-
Method Details
-
setTimeReservoir
- Parameters:
reservoir- The reservoir that uses this trimmer.