public static interface StageRunner.StageMessageDispatcher<E> extends AutoCloseable
Sorter via sendResult(MutableObjectIterator)| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
closevoid send(StageRunner.SortStage stage, org.apache.flink.runtime.operators.sort.CircularElement<E> element)
org.apache.flink.runtime.operators.sort.CircularElement<E> take(StageRunner.SortStage stage) throws InterruptedException
InterruptedExceptionorg.apache.flink.runtime.operators.sort.CircularElement<E> poll(StageRunner.SortStage stage)
null if the
queue is empty.null if the queue is emptyCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.