public interface NetworkSequenceViewReader
| Modifier and Type | Method and Description |
|---|---|
void |
addCredit(int creditDeltas)
The credits from consumer are added in incremental way.
|
Throwable |
getFailureCause() |
InputChannel.BufferAndAvailability |
getNextBuffer() |
InputChannelID |
getReceiverId() |
boolean |
isAvailable()
Checks whether this reader is available or not.
|
boolean |
isRegisteredAsAvailable() |
boolean |
isReleased() |
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
IOExceptionvoid addCredit(int creditDeltas)
creditDeltas - The credit deltasvoid resumeConsumption()
boolean isAvailable()
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()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.