K - Type of the keys to which timers are scoped.N - Type of the namespace to which timers are scoped.@Internal
public interface Triggerable<K,N>
InternalTimerService.| Modifier and Type | Method and Description |
|---|---|
void |
onEventTime(InternalTimer<K,N> timer)
Invoked when an event-time timer fires.
|
void |
onProcessingTime(InternalTimer<K,N> timer)
Invoked when a processing-time timer fires.
|
void onEventTime(InternalTimer<K,N> timer) throws Exception
Exceptionvoid onProcessingTime(InternalTimer<K,N> timer) throws Exception
ExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.