Did you read the documentation?
https://ci.apache.org/projects/flink/flink-docs-master/dev/stream/operators/windows.html#triggersOn 16.07.2018 14:45, Soheil Pourbafrani wrote:
> Hi,
>
> In extending class Trigger we have methods like onElement,
> onProcessingTime and onEventTime. I know the method onElement will be
> called when a element is added to the window, but I have no idea about
> when two other methods onProcessingTime and onEventTime will be called?