Interface StreamTaskInput<T>
- All Superinterfaces:
AutoCloseable,AvailabilityProvider,Closeable,PushingAsyncDataInput<T>
- All Known Subinterfaces:
RecoverableStreamTaskInput<T>
- All Known Implementing Classes:
AbstractStreamTaskNetworkInput,MultiInputSortingDataInput,RescalingStreamTaskNetworkInput,SortingDataInput,StreamTaskExternallyInducedSourceInput,StreamTaskFinishedOnRestoreSourceInput,StreamTaskNetworkInput,StreamTaskSourceInput
Basic interface for inputs of stream operators.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
AvailabilityProvider.AvailabilityHelperNested classes/interfaces inherited from interface org.apache.flink.streaming.runtime.io.PushingAsyncDataInput
PushingAsyncDataInput.DataOutput<T> -
Field Summary
FieldsFields inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
AVAILABLE -
Method Summary
Modifier and TypeMethodDescriptionintReturns the input index of this input.prepareSnapshot(ChannelStateWriter channelStateWriter, long checkpointId) Prepares to spill the in-flight input buffers as checkpoint snapshot.Methods inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
getAvailableFuture, isApproximatelyAvailable, isAvailableMethods inherited from interface org.apache.flink.streaming.runtime.io.PushingAsyncDataInput
emitNext
-
Field Details
-
UNSPECIFIED
static final int UNSPECIFIED- See Also:
-
-
Method Details
-
getInputIndex
int getInputIndex()Returns the input index of this input. -
prepareSnapshot
CompletableFuture<Void> prepareSnapshot(ChannelStateWriter channelStateWriter, long checkpointId) throws CheckpointException Prepares to spill the in-flight input buffers as checkpoint snapshot.- Throws:
CheckpointException
-