public class WatermarkDurationEvictionPolicy<T> extends DurationEvictionPolicy<T>
evictionContext, referenceTime
Constructor and Description |
---|
WatermarkDurationEvictionPolicy(long winLength) |
WatermarkDurationEvictionPolicy(long winLength,
long lag) |
Modifier and Type | Method and Description |
---|---|
Action |
evict(Event<T> event) |
java.lang.String |
toString() |
setContext, track
public WatermarkDurationEvictionPolicy(long winLength)
public WatermarkDurationEvictionPolicy(long winLength, long lag)
public Action evict(Event<T> event)
evict
in interface IEvictionPolicy<T>
evict
in class DurationEvictionPolicy<T>
public java.lang.String toString()
toString
in class DurationEvictionPolicy<T>