public class WatermarkDurationWindowPolicy<T> extends DurationWindowPolicy<T>
Constructor and Description |
---|
WatermarkDurationWindowPolicy(long slidingInterval,
IManager manager,
WindowManager<T> windowManager,
IEvictionPolicy<T> evictionPolicy) |
Modifier and Type | Method and Description |
---|---|
void |
reset() |
void |
shutdown() |
void |
start() |
void |
track(Event<T> event) |
boolean |
validate() |
java.lang.String |
whyInvalid() |
toString
public WatermarkDurationWindowPolicy(long slidingInterval, IManager manager, WindowManager<T> windowManager, IEvictionPolicy<T> evictionPolicy)
public boolean validate()
validate
in interface IWindowingPolicy<T>
validate
in class DurationWindowPolicy<T>
public java.lang.String whyInvalid()
whyInvalid
in interface IWindowingPolicy<T>
whyInvalid
in class DurationWindowPolicy<T>
public void track(Event<T> event)
track
in interface IWindowingPolicy<T>
track
in class DurationWindowPolicy<T>
public void reset()
reset
in interface IWindowingPolicy<T>
reset
in class DurationWindowPolicy<T>
public void start()
start
in interface IWindowingPolicy<T>
start
in class DurationWindowPolicy<T>
public void shutdown()
shutdown
in interface IWindowingPolicy<T>
shutdown
in class DurationWindowPolicy<T>