Package org.apache.storm.windowing
Interface TriggerHandler
-
- All Known Implementing Classes:
StatefulWindowManager,WindowManager
public interface TriggerHandlerThe callback fired byTriggerPolicywhen the trigger condition is satisfied.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonTrigger()The code to execute when theTriggerPolicycondition is satisfied.
-
-
-
Method Detail
-
onTrigger
boolean onTrigger()
The code to execute when theTriggerPolicycondition is satisfied.- Returns:
- true if the window was evaluated with at least one event in the window, false otherwise
-
-