Class BatchExecutionInternalTimeServiceWithAsyncState<K,N>
java.lang.Object
org.apache.flink.streaming.api.operators.sorted.state.BatchExecutionInternalTimeService<K,N>
org.apache.flink.streaming.api.operators.sorted.state.BatchExecutionInternalTimeServiceWithAsyncState<K,N>
- All Implemented Interfaces:
InternalTimerService<N>
@Internal
public class BatchExecutionInternalTimeServiceWithAsyncState<K,N>
extends BatchExecutionInternalTimeService<K,N>
An implementation of a
InternalTimerService that manages timers with a single active key
at a time. Can be used in a BATCH execution mode cooperating with async state operators.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetCurrentKey(K currentKey) Sets the current key.voidsetup(AsyncExecutionController<K> asyncExecutionController) Set up the async execution controller.Methods inherited from class org.apache.flink.streaming.api.operators.sorted.state.BatchExecutionInternalTimeService
currentProcessingTime, currentWatermark, deleteEventTimeTimer, deleteProcessingTimeTimer, forEachEventTimeTimer, forEachProcessingTimeTimer, registerEventTimeTimer, registerProcessingTimeTimer
-
Method Details
-
setup
Set up the async execution controller. -
setCurrentKey
Sets the current key. Timers that are due to be fired are collected and will be triggered.- Overrides:
setCurrentKeyin classBatchExecutionInternalTimeService<K,N> - Throws:
Exception
-