Class UncheckpointedCollectResultBuffer<T>
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.collect.AbstractCollectResultBuffer<T>
-
- org.apache.flink.streaming.api.operators.collect.UncheckpointedCollectResultBuffer<T>
-
public class UncheckpointedCollectResultBuffer<T> extends AbstractCollectResultBuffer<T>
A buffer which encapsulates the logic of dealing with the response from theCollectSinkFunction. It ignores the checkpoint related fields in the response. See Java doc ofCollectSinkFunctionfor explanation of this communication protocol.
-
-
Constructor Summary
Constructors Constructor Description UncheckpointedCollectResultBuffer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, boolean failureTolerance)
-
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
-
UncheckpointedCollectResultBuffer
public UncheckpointedCollectResultBuffer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, boolean failureTolerance)
-
-
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>
-
-