public abstract class IndexedInputGate extends InputGate implements CheckpointableInput
InputGate with a specific index.InputGate.InputWithData<INPUT,DATA>AvailabilityProvider.AvailabilityHelperavailabilityHelper, priorityAvailabilityHelperAVAILABLE| Constructor and Description |
|---|
IndexedInputGate() |
| Modifier and Type | Method and Description |
|---|---|
void |
blockConsumption(InputChannelInfo channelInfo) |
void |
checkpointStarted(CheckpointBarrier barrier) |
void |
checkpointStopped(long cancelledCheckpointId) |
void |
convertToPriorityEvent(int channelIndex,
int sequenceNumber) |
abstract int |
getGateIndex()
Returns the index of this input gate.
|
int |
getInputGateIndex() |
finishReadRecoveredState, getAvailableFuture, getChannel, getChannelInfos, getNext, getNumberOfInputChannels, getPriorityEventAvailableFuture, getStateConsumedFuture, isFinished, pollNext, requestPartitions, resumeConsumption, sendTaskEvent, setChannelStateWriter, setupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChannelInfos, getNumberOfInputChannels, resumeConsumptionand, isApproximatelyAvailable, isAvailable, orclosepublic abstract int getGateIndex()
public void checkpointStarted(CheckpointBarrier barrier) throws CheckpointException
checkpointStarted in interface CheckpointableInputCheckpointExceptionpublic void checkpointStopped(long cancelledCheckpointId)
checkpointStopped in interface CheckpointableInputpublic int getInputGateIndex()
getInputGateIndex in interface CheckpointableInputpublic void blockConsumption(InputChannelInfo channelInfo)
blockConsumption in interface CheckpointableInputpublic void convertToPriorityEvent(int channelIndex,
int sequenceNumber)
throws IOException
convertToPriorityEvent in interface CheckpointableInputIOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.