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>
限定符和类型 | 字段和说明 |
---|---|
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 . |
限定符和类型 | 方法和说明 |
---|---|
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–2019 The Apache Software Foundation. All rights reserved.