Interface CheckpointableInput
- All Known Implementing Classes:
IndexedInputGate,InputGateWithMetrics,SingleInputGate,StreamTaskExternallyInducedSourceInput,StreamTaskFinishedOnRestoreSourceInput,StreamTaskSourceInput
@Internal
public interface CheckpointableInput
Input, with just basic methods for blocking and resuming consumption. It can be for example an
InputGate or a chained source.-
Method Summary
Modifier and TypeMethodDescriptionvoidblockConsumption(InputChannelInfo channelInfo) voidcheckpointStarted(CheckpointBarrier barrier) voidcheckpointStopped(long cancelledCheckpointId) voidconvertToPriorityEvent(int channelIndex, int sequenceNumber) intintvoidresumeConsumption(InputChannelInfo channelInfo)
-
Method Details
-
blockConsumption
-
resumeConsumption
- Throws:
IOException
-
getChannelInfos
List<InputChannelInfo> getChannelInfos() -
getNumberOfInputChannels
int getNumberOfInputChannels() -
checkpointStarted
- Throws:
CheckpointException
-
checkpointStopped
void checkpointStopped(long cancelledCheckpointId) -
getInputGateIndex
int getInputGateIndex() -
convertToPriorityEvent
- Throws:
IOException
-