Class BlockingBackChannel

java.lang.Object
org.apache.flink.runtime.iterative.concurrent.BlockingBackChannel

public class BlockingBackChannel extends Object
A concurrent datastructure that establishes a backchannel buffer between an iteration head and an iteration tail.
  • Constructor Details

  • 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).