Interface Triggerable<K,N>
-
- Type Parameters:
K- Type of the keys to which timers are scoped.N- Type of the namespace to which timers are scoped.
- All Known Implementing Classes:
AsyncEvictingWindowOperator,AsyncIntervalJoinOperator,AsyncKeyedCoProcessOperator,AsyncKeyedCoProcessOperatorWithWatermarkDelay,AsyncKeyedProcessOperator,AsyncWindowOperator,BatchCoBroadcastWithKeyedOperator,BatchGroupedReduceOperator,CoBroadcastWithKeyedOperator,EvictingWindowOperator,IntervalJoinOperator,KeyedCoProcessOperator,KeyedProcessOperator,LegacyKeyedCoProcessOperator,LegacyKeyedProcessOperator,WindowOperator
@Internal public interface Triggerable<K,N>Interface for things that can be called byInternalTimerService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonEventTime(InternalTimer<K,N> timer)Invoked when an event-time timer fires.voidonProcessingTime(InternalTimer<K,N> timer)Invoked when a processing-time timer fires.
-
-
-
Method Detail
-
onEventTime
void onEventTime(InternalTimer<K,N> timer) throws Exception
Invoked when an event-time timer fires.- Throws:
Exception
-
onProcessingTime
void onProcessingTime(InternalTimer<K,N> timer) throws Exception
Invoked when a processing-time timer fires.- Throws:
Exception
-
-