Interface StageRunner.StageMessageDispatcher<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.flink.runtime.operators.sort.CircularElement<E> poll​(StageRunner.SortStage stage)
      Retrieves and removes the head of the given stage queue, or returns null if the queue is empty.
      void send​(StageRunner.SortStage stage, org.apache.flink.runtime.operators.sort.CircularElement<E> element)
      Sends a message to the given stage.
      void sendResult​(org.apache.flink.util.MutableObjectIterator<E> result)
      Sends a result to the corresponding Sorter.
      org.apache.flink.runtime.operators.sort.CircularElement<E> take​(StageRunner.SortStage stage)
      Retrieves and removes the head of the given queue, waiting if necessary until an element becomes available.
    • Method Detail

      • send

        void send​(StageRunner.SortStage stage,
                  org.apache.flink.runtime.operators.sort.CircularElement<E> element)
        Sends a message to the given stage.
      • poll

        org.apache.flink.runtime.operators.sort.CircularElement<E> poll​(StageRunner.SortStage stage)
        Retrieves and removes the head of the given stage queue, or returns null if the queue is empty.
        Returns:
        the head of the queue, or null if the queue is empty
      • sendResult

        void sendResult​(org.apache.flink.util.MutableObjectIterator<E> result)
        Sends a result to the corresponding Sorter.