public interface NetworkSequenceViewReader
| 限定符和类型 | 方法和说明 |
|---|---|
void |
acknowledgeAllRecordsProcessed()
Acknowledges all the user records are processed.
|
void |
addCredit(int creditDeltas)
The credits from consumer are added in incremental way.
|
ResultSubpartitionView.AvailabilityWithBacklog |
getAvailabilityAndBacklog()
Checks whether this reader is available or not and returns the backlog at the same time.
|
Throwable |
getFailureCause() |
InputChannel.BufferAndAvailability |
getNextBuffer() |
InputChannelID |
getReceiverId() |
boolean |
isRegisteredAsAvailable() |
boolean |
isReleased() |
boolean |
needAnnounceBacklog()
Returns true if the producer backlog need to be announced to the consumer.
|
void |
notifyNewBufferSize(int newBufferSize) |
void |
releaseAllResources() |
void |
requestSubpartitionView(ResultPartitionProvider partitionProvider,
ResultPartitionID resultPartitionId,
int subPartitionIndex) |
void |
resumeConsumption()
Resumes data consumption after an exactly once checkpoint.
|
void |
setRegisteredAsAvailable(boolean isRegisteredAvailable)
Updates the value to indicate whether the reader is enqueued in the pipeline or not.
|
void requestSubpartitionView(ResultPartitionProvider partitionProvider, ResultPartitionID resultPartitionId, int subPartitionIndex) throws IOException
IOException@Nullable InputChannel.BufferAndAvailability getNextBuffer() throws IOException
IOExceptionboolean needAnnounceBacklog()
void addCredit(int creditDeltas)
creditDeltas - The credit deltasvoid resumeConsumption()
void acknowledgeAllRecordsProcessed()
ResultSubpartitionView.AvailabilityWithBacklog getAvailabilityAndBacklog()
boolean isRegisteredAsAvailable()
void setRegisteredAsAvailable(boolean isRegisteredAvailable)
isRegisteredAvailable - True if this reader is already enqueued in the pipeline.boolean isReleased()
void releaseAllResources()
throws IOException
IOExceptionThrowable getFailureCause()
InputChannelID getReceiverId()
void notifyNewBufferSize(int newBufferSize)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.