use of org.apache.flink.runtime.operators.lifecycle.event.OperatorFinishedEvent.LastReceivedVertexDataInfo in project flink by apache.
the class TwoInputTestStreamOperator method finish.
@Override
public void finish() throws Exception {
collectEvent(new OperatorFinishedEvent(operatorID, getRuntimeContext().getIndexOfThisSubtask(), getRuntimeContext().getAttemptNumber(), lastDataSent, new LastReceivedVertexDataInfo(lastDataReceived)));
super.finish();
}
use of org.apache.flink.runtime.operators.lifecycle.event.OperatorFinishedEvent.LastReceivedVertexDataInfo in project flink by apache.
the class MultiInputTestOperator method finish.
@Override
public void finish() throws Exception {
eventQueue.add(new OperatorFinishedEvent(operatorId, getRuntimeContext().getIndexOfThisSubtask(), getRuntimeContext().getAttemptNumber(), lastDataSent.get(), new LastReceivedVertexDataInfo(lastDataReceived)));
super.finish();
}
Aggregations