Class FinishedOnRestoreMainOperatorOutput<OUT>
java.lang.Object
org.apache.flink.streaming.runtime.tasks.FinishedOnRestoreMainOperatorOutput<OUT>
- All Implemented Interfaces:
Closeable,AutoCloseable,Output<OUT>,WatermarkGaugeExposingOutput<OUT>,org.apache.flink.util.Collector<OUT>
public class FinishedOnRestoreMainOperatorOutput<OUT>
extends Object
implements WatermarkGaugeExposingOutput<OUT>
A fake main operator output that skips all the following operators for finished on restored
tasks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<X> voidcollect(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record) Emits a record to the side output identified by the givenOutputTag.voidvoidemitLatencyMarker(LatencyMarker latencyMarker) voidemitRecordAttributes(RecordAttributes recordAttributes) Emits aRecordAttributesfrom an operator.voidemitWatermark(WatermarkEvent watermark) Emits aWatermarkfrom an operator, wrapped in aWatermarkEvent.voidemitWatermark(Watermark mark) Emits aWatermarkfrom an operator.voidemitWatermarkStatus(WatermarkStatus watermarkStatus) org.apache.flink.metrics.Gauge<Long>
-
Constructor Details
-
FinishedOnRestoreMainOperatorOutput
-
-
Method Details
-
collect
- Specified by:
collectin interfaceorg.apache.flink.util.Collector<OUT>
-
emitWatermark
Description copied from interface:OutputEmits aWatermarkfrom an operator. This watermark is broadcast to all downstream operators.A watermark specifies that no element with a timestamp lower or equal to the watermark timestamp will be emitted in the future.
- Specified by:
emitWatermarkin interfaceOutput<OUT>
-
emitWatermarkStatus
- Specified by:
emitWatermarkStatusin interfaceOutput<OUT>
-
collect
Description copied from interface:OutputEmits a record to the side output identified by the givenOutputTag. -
emitLatencyMarker
- Specified by:
emitLatencyMarkerin interfaceOutput<OUT>
-
emitRecordAttributes
Description copied from interface:OutputEmits aRecordAttributesfrom an operator. This element is broadcast to all downstream operators.- Specified by:
emitRecordAttributesin interfaceOutput<OUT>
-
emitWatermark
Description copied from interface:OutputEmits aWatermarkfrom an operator, wrapped in aWatermarkEvent.- Specified by:
emitWatermarkin interfaceOutput<OUT>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.flink.util.Collector<OUT>
-
getWatermarkGauge
- Specified by:
getWatermarkGaugein interfaceWatermarkGaugeExposingOutput<OUT>
-