Interface InternalTimer<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 Superinterfaces:
org.apache.flink.runtime.state.Keyed<K>,org.apache.flink.runtime.state.PriorityComparable<InternalTimer<?,?>>
- All Known Implementing Classes:
TimerHeapInternalTimer
@Internal public interface InternalTimer<K,N> extends org.apache.flink.runtime.state.PriorityComparable<InternalTimer<?,?>>, org.apache.flink.runtime.state.Keyed<K>
Internal interface for in-flight timers.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.flink.runtime.state.KeyExtractorFunction<InternalTimer<?,?>>KEY_EXTRACTOR_FUNCTIONFunction to extract the key from aInternalTimer.static org.apache.flink.runtime.state.PriorityComparator<InternalTimer<?,?>>TIMER_COMPARATORFunction to compare instances ofInternalTimer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KgetKey()Returns the key that is bound to this timer.NgetNamespace()Returns the namespace that is bound to this timer.longgetTimestamp()Returns the timestamp of the timer.
-
-
-
Field Detail
-
KEY_EXTRACTOR_FUNCTION
static final org.apache.flink.runtime.state.KeyExtractorFunction<InternalTimer<?,?>> KEY_EXTRACTOR_FUNCTION
Function to extract the key from aInternalTimer.
-
TIMER_COMPARATOR
static final org.apache.flink.runtime.state.PriorityComparator<InternalTimer<?,?>> TIMER_COMPARATOR
Function to compare instances ofInternalTimer.
-
-