@Internal public interface StreamTaskInput<T> extends PushingAsyncDataInput<T>, Closeable
PushingAsyncDataInput.DataOutput<T>
AvailabilityProvider.AvailabilityHelper
Modifier and Type | Field and Description |
---|---|
static int |
UNSPECIFIED |
AVAILABLE
Modifier and Type | Method and Description |
---|---|
int |
getInputIndex()
Returns the input index of this input.
|
CompletableFuture<Void> |
prepareSnapshot(ChannelStateWriter channelStateWriter,
long checkpointId)
Prepares to spill the in-flight input buffers as checkpoint snapshot.
|
emitNext
and, getAvailableFuture, isApproximatelyAvailable, isAvailable, or
static final int UNSPECIFIED
int getInputIndex()
CompletableFuture<Void> prepareSnapshot(ChannelStateWriter channelStateWriter, long checkpointId) throws IOException
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.