Class SingleCheckpointBarrierHandler

java.lang.Object
org.apache.flink.streaming.runtime.io.checkpointing.CheckpointBarrierHandler
org.apache.flink.streaming.runtime.io.checkpointing.SingleCheckpointBarrierHandler
All Implemented Interfaces:
Closeable, AutoCloseable

@Internal @NotThreadSafe public class SingleCheckpointBarrierHandler extends CheckpointBarrierHandler
SingleCheckpointBarrierHandler is used for triggering checkpoint while reading the first barrier and keeping track of the number of received barriers and consumed barriers. It can handle/track just single checkpoint at a time. The behaviour when to actually trigger the checkpoint and what the CheckpointableInput should do is controlled by BarrierHandlerState.