@Internal public interface StreamInputProcessor extends AvailabilityProvider, Closeable
StreamTask
.AvailabilityProvider.AvailabilityHelper
AVAILABLE
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
prepareSnapshot(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. |
and, getAvailableFuture, isApproximatelyAvailable, isAvailable, or
DataInputStatus processInput() throws Exception
InputSelectable.nextSelection()
to choose which input to consume from next.AvailabilityProvider.getAvailableFuture()
.Exception
CompletableFuture<Void> prepareSnapshot(ChannelStateWriter channelStateWriter, long checkpointId) throws CheckpointException
CheckpointException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.