Package org.apache.storm.windowing
Interface TriggerHandler
- All Known Implementing Classes:
- StatefulWindowManager,- WindowManager
public interface TriggerHandler
The callback fired by 
TriggerPolicy when the trigger condition is satisfied.- 
Method SummaryModifier and TypeMethodDescriptionbooleanThe code to execute when theTriggerPolicycondition is satisfied.
- 
Method Details- 
onTriggerboolean 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
 
 
-