Interface CleanupState
- All Known Implementing Classes:
AbstractRowTimeUnboundedPrecedingOver,KeyedProcessFunctionWithCleanupState,ProcTimeRowsBoundedPrecedingFunction,RowTimeRangeUnboundedPrecedingFunction,RowTimeRowsBoundedPrecedingFunction,RowTimeRowsUnboundedPrecedingFunction
public interface CleanupState
Base interface for clean up state, both for
ProcessFunction and CoProcessFunction.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidregisterProcessingCleanupTimer(org.apache.flink.api.common.state.ValueState<Long> cleanupTimeState, long currentTime, long minRetentionTime, long maxRetentionTime, org.apache.flink.streaming.api.TimerService timerService)
-
Method Details
-
registerProcessingCleanupTimer
default void registerProcessingCleanupTimer(org.apache.flink.api.common.state.ValueState<Long> cleanupTimeState, long currentTime, long minRetentionTime, long maxRetentionTime, org.apache.flink.streaming.api.TimerService timerService) throws Exception - Throws:
Exception
-