public class StreamTaskExternallyInducedSourceInput<T> extends StreamTaskSourceInput<T>
StreamTaskSourceInput for ExternallyInducedSourceReader.PushingAsyncDataInput.DataOutput<T>UNSPECIFIED| 构造器和说明 |
|---|
StreamTaskExternallyInducedSourceInput(SourceOperator<T,?> operator,
java.util.function.Consumer<Long> checkpointTriggeringHook,
int inputGateIndex,
int inputIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
blockUntil(CompletableFuture<?> blockFuture) |
DataInputStatus |
emitNext(PushingAsyncDataInput.DataOutput<T> output)
Pushes the next element to the output from current data input, and returns the input status
to indicate whether there are more available data in current input.
|
CompletableFuture<?> |
getAvailableFuture() |
blockConsumption, checkpointStarted, checkpointStopped, close, convertToPriorityEvent, getChannelInfos, getInputGateIndex, getInputIndex, getNumberOfInputChannels, getOperator, getOperatorID, prepareSnapshot, resumeConsumptionpublic StreamTaskExternallyInducedSourceInput(SourceOperator<T,?> operator, java.util.function.Consumer<Long> checkpointTriggeringHook, int inputGateIndex, int inputIndex)
public void blockUntil(CompletableFuture<?> blockFuture)
public DataInputStatus emitNext(PushingAsyncDataInput.DataOutput<T> output) throws Exception
PushingAsyncDataInputThis method should be non blocking.
emitNext 在接口中 PushingAsyncDataInput<T>emitNext 在类中 StreamTaskSourceInput<T>Exceptionpublic CompletableFuture<?> getAvailableFuture()
getAvailableFuture 在接口中 org.apache.flink.runtime.io.AvailabilityProvidergetAvailableFuture 在类中 StreamTaskSourceInput<T>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.