Interface CheckpointableInput
-
- All Known Implementing Classes:
IndexedInputGate,InputGateWithMetrics,SingleInputGate,StreamTaskExternallyInducedSourceInput,StreamTaskFinishedOnRestoreSourceInput,StreamTaskSourceInput
@Internal public interface CheckpointableInputInput, with just basic methods for blocking and resuming consumption. It can be for example anInputGateor a chained source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidblockConsumption(InputChannelInfo channelInfo)voidcheckpointStarted(CheckpointBarrier barrier)voidcheckpointStopped(long cancelledCheckpointId)voidconvertToPriorityEvent(int channelIndex, int sequenceNumber)List<InputChannelInfo>getChannelInfos()intgetInputGateIndex()intgetNumberOfInputChannels()voidresumeConsumption(InputChannelInfo channelInfo)
-
-
-
Method Detail
-
blockConsumption
void blockConsumption(InputChannelInfo channelInfo)
-
resumeConsumption
void resumeConsumption(InputChannelInfo channelInfo) throws IOException
- Throws:
IOException
-
getChannelInfos
List<InputChannelInfo> getChannelInfos()
-
getNumberOfInputChannels
int getNumberOfInputChannels()
-
checkpointStarted
void checkpointStarted(CheckpointBarrier barrier) throws CheckpointException
- Throws:
CheckpointException
-
checkpointStopped
void checkpointStopped(long cancelledCheckpointId)
-
getInputGateIndex
int getInputGateIndex()
-
convertToPriorityEvent
void convertToPriorityEvent(int channelIndex, int sequenceNumber) throws IOException- Throws:
IOException
-
-