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 anInputGate
or a chained source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
blockConsumption(InputChannelInfo channelInfo)
void
checkpointStarted(CheckpointBarrier barrier)
void
checkpointStopped(long cancelledCheckpointId)
void
convertToPriorityEvent(int channelIndex, int sequenceNumber)
List<InputChannelInfo>
getChannelInfos()
int
getInputGateIndex()
int
getNumberOfInputChannels()
void
resumeConsumption(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
-
-