Class CheckpointedCollectResultBuffer<T>
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.collect.AbstractCollectResultBuffer<T>
-
- org.apache.flink.streaming.api.operators.collect.CheckpointedCollectResultBuffer<T>
-
public class CheckpointedCollectResultBuffer<T> extends AbstractCollectResultBuffer<T>
A buffer which encapsulates the logic of dealing with the response from theCollectSinkFunction. It will consider the checkpoint related fields in the response. See Java doc ofCollectSinkFunctionfor explanation of this communication protocol.
-
-
Constructor Summary
Constructors Constructor Description CheckpointedCollectResultBuffer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidmaintainVisibility(long currentVisiblePos, long lastCheckpointedOffset)protected voidsinkRestarted(long lastCheckpointedOffset)-
Methods inherited from class org.apache.flink.streaming.api.operators.collect.AbstractCollectResultBuffer
complete, dealWithResponse, getOffset, getVersion, makeResultsVisible, next, reset, revert
-
-
-
-
Constructor Detail
-
CheckpointedCollectResultBuffer
public CheckpointedCollectResultBuffer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer)
-
-
Method Detail
-
sinkRestarted
protected void sinkRestarted(long lastCheckpointedOffset)
- Specified by:
sinkRestartedin classAbstractCollectResultBuffer<T>
-
maintainVisibility
protected void maintainVisibility(long currentVisiblePos, long lastCheckpointedOffset)- Specified by:
maintainVisibilityin classAbstractCollectResultBuffer<T>
-
-