Class UncheckpointedCollectResultBuffer<T>
java.lang.Object
org.apache.flink.streaming.api.operators.collect.AbstractCollectResultBuffer<T>
org.apache.flink.streaming.api.operators.collect.UncheckpointedCollectResultBuffer<T>
A buffer which encapsulates the logic of dealing with the response from the
CollectSinkFunction. It ignores the checkpoint related fields in the response. See Java doc of
CollectSinkFunction for explanation of this communication protocol.-
Constructor Summary
ConstructorsConstructorDescriptionUncheckpointedCollectResultBuffer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, boolean failureTolerance) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
UncheckpointedCollectResultBuffer
public UncheckpointedCollectResultBuffer(org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer, boolean failureTolerance)
-
-
Method Details
-
sinkRestarted
protected void sinkRestarted(long lastCheckpointedOffset) - Specified by:
sinkRestartedin classAbstractCollectResultBuffer<T>
-
maintainVisibility
protected void maintainVisibility(long currentVisiblePos, long lastCheckpointedOffset) - Specified by:
maintainVisibilityin classAbstractCollectResultBuffer<T>
-