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 aInternalTimerServicethat 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetCurrentKey(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, initializeWatermark, registerEventTimeTimer, registerProcessingTimeTimer
-
-
-
-
Method Detail
-
setup
public void setup(AsyncExecutionController<K,?> asyncExecutionController)
Set up the async execution controller.
-
setCurrentKey
public void setCurrentKey(K currentKey) throws Exception
Sets the current key. Timers that are due to be fired are collected and will be triggered.- Overrides:
setCurrentKeyin classBatchExecutionInternalTimeService<K,N>- Throws:
Exception
-
-