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
@Internal public interface StreamTaskInput<T> extends PushingAsyncDataInput<T>, Closeable
Basic interface for inputs of stream operators.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
AvailabilityProvider.AvailabilityHelper
-
Nested classes/interfaces inherited from interface org.apache.flink.streaming.runtime.io.PushingAsyncDataInput
PushingAsyncDataInput.DataOutput<T>
-
-
Field Summary
Fields Modifier and Type Field Description static int
UNSPECIFIED
-
Fields inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
AVAILABLE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface org.apache.flink.runtime.io.AvailabilityProvider
getAvailableFuture, isApproximatelyAvailable, isAvailable
-
Methods inherited from interface org.apache.flink.streaming.runtime.io.PushingAsyncDataInput
emitNext
-
-
-
-
Field Detail
-
UNSPECIFIED
static final int UNSPECIFIED
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-