K
- Type of the keys to which timers are scoped.N
- Type of the namespace to which timers are scoped.@Internal public final class VoidTriggerable<K,N> extends Object implements Triggerable<K,N>
Triggerable
that does nothing.Modifier and Type | Method and Description |
---|---|
static <K,N> VoidTriggerable<K,N> |
instance() |
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.
|
public static <K,N> VoidTriggerable<K,N> instance()
public void onEventTime(InternalTimer<K,N> timer)
Triggerable
onEventTime
in interface Triggerable<K,N>
public void onProcessingTime(InternalTimer<K,N> timer)
Triggerable
onProcessingTime
in interface Triggerable<K,N>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.