Class BlockingBackChannel
java.lang.Object
org.apache.flink.runtime.iterative.concurrent.BlockingBackChannel
A concurrent datastructure that establishes a backchannel buffer between an iteration head and an
iteration tail.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.core.memory.DataInputViewCalled by iteration head after it has sent all input for the current superstep through the data channel (blocks iteration head).org.apache.flink.core.memory.DataOutputViewCalled by iteration tail to save the output of the current superstep.voidCalled by iteration tail to signal that all input of a superstep has been processed (unblocks iteration head).
-
Constructor Details
-
BlockingBackChannel
-
-
Method Details
-
getReadEndAfterSuperstepEnded
public org.apache.flink.core.memory.DataInputView getReadEndAfterSuperstepEnded()Called by iteration head after it has sent all input for the current superstep through the data channel (blocks iteration head). -
getWriteEnd
public org.apache.flink.core.memory.DataOutputView getWriteEnd()Called by iteration tail to save the output of the current superstep. -
notifyOfEndOfSuperstep
public void notifyOfEndOfSuperstep()Called by iteration tail to signal that all input of a superstep has been processed (unblocks iteration head).
-