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:
Keyed<K>,PriorityComparable<InternalTimer<?,?>>
- All Known Implementing Classes:
TimerHeapInternalTimer
@Internal
public interface InternalTimer<K,N>
extends PriorityComparable<InternalTimer<?,?>>, Keyed<K>
Internal interface for in-flight timers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyExtractorFunction<InternalTimer<?,?>> Function to extract the key from aInternalTimer.static final PriorityComparator<InternalTimer<?,?>> Function to compare instances ofInternalTimer. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns the key that is bound to this timer.Returns the namespace that is bound to this timer.longReturns the timestamp of the timer.Methods inherited from interface org.apache.flink.runtime.state.PriorityComparable
comparePriorityTo
-
Field Details
-
KEY_EXTRACTOR_FUNCTION
Function to extract the key from aInternalTimer. -
TIMER_COMPARATOR
Function to compare instances ofInternalTimer.
-
-
Method Details