@Internal public interface StreamInputProcessor extends org.apache.flink.runtime.io.AvailabilityProvider, Closeable
StreamTask
.Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
prepareSnapshot(org.apache.flink.runtime.checkpoint.channel.ChannelStateWriter channelStateWriter,
long checkpointId) |
DataInputStatus |
processInput()
In case of two and more input processors this method must call
InputSelectable.nextSelection() to choose which input to consume from next. |
DataInputStatus processInput() throws Exception
InputSelectable.nextSelection()
to choose which input to consume from next.AvailabilityProvider.getAvailableFuture()
.Exception
CompletableFuture<Void> prepareSnapshot(org.apache.flink.runtime.checkpoint.channel.ChannelStateWriter channelStateWriter, long checkpointId) throws org.apache.flink.runtime.checkpoint.CheckpointException
org.apache.flink.runtime.checkpoint.CheckpointException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.