K - Type of the keys to which timers are scoped.N - Type of the namespace to which timers are scoped.@Internal public interface InternalTimer<K,N> extends org.apache.flink.runtime.state.PriorityComparable<InternalTimer<?,?>>, org.apache.flink.runtime.state.Keyed<K>
| Modifier and Type | Field and Description |
|---|---|
static org.apache.flink.runtime.state.KeyExtractorFunction<InternalTimer<?,?>> |
KEY_EXTRACTOR_FUNCTION
Function to extract the key from a
InternalTimer. |
static org.apache.flink.runtime.state.PriorityComparator<InternalTimer<?,?>> |
TIMER_COMPARATOR
Function to compare instances of
InternalTimer. |
| Modifier and Type | Method and Description |
|---|---|
K |
getKey()
Returns the key that is bound to this timer.
|
N |
getNamespace()
Returns the namespace that is bound to this timer.
|
long |
getTimestamp()
Returns the timestamp of the timer.
|
static final org.apache.flink.runtime.state.KeyExtractorFunction<InternalTimer<?,?>> KEY_EXTRACTOR_FUNCTION
InternalTimer.static final org.apache.flink.runtime.state.PriorityComparator<InternalTimer<?,?>> TIMER_COMPARATOR
InternalTimer.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.