public abstract class IndexedInputGate extends InputGate implements CheckpointableInput
InputGate with a specific index.InputGate.InputWithData<INPUT,DATA>PullingAsyncDataInput.EndOfDataStatusAvailabilityProvider.AvailabilityHelperavailabilityHelper, priorityAvailabilityHelperAVAILABLE| 构造器和说明 |
|---|
IndexedInputGate() |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
abstract List<InputChannelInfo> |
getUnfinishedChannels()
Returns the list of channels that have not received EndOfPartitionEvent.
|
abstract void |
triggerDebloating() |
acknowledgeAllRecordsProcessed, 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, resumeConsumptionhasReceivedEndOfDataand, isApproximatelyAvailable, isAvailable, orclosepublic abstract int getGateIndex()
public abstract List<InputChannelInfo> getUnfinishedChannels()
public void checkpointStarted(CheckpointBarrier barrier) throws CheckpointException
checkpointStarted 在接口中 CheckpointableInputCheckpointExceptionpublic void checkpointStopped(long cancelledCheckpointId)
checkpointStopped 在接口中 CheckpointableInputpublic int getInputGateIndex()
getInputGateIndex 在接口中 CheckpointableInputpublic void blockConsumption(InputChannelInfo channelInfo)
blockConsumption 在接口中 CheckpointableInputpublic void convertToPriorityEvent(int channelIndex,
int sequenceNumber)
throws IOException
convertToPriorityEvent 在接口中 CheckpointableInputIOExceptionpublic abstract void triggerDebloating()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.