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