public class PipelinedApproximateSubpartition extends PipelinedSubpartition
ResultSubpartition.BufferAndBacklogparent, subpartitionInfo| 限定符和类型 | 方法和说明 |
|---|---|
PipelinedSubpartitionView |
createReadView(BufferAvailabilityListener availabilityListener)
To simply the view releasing threading model,
releaseView() is called only before creating a new view. |
void |
finishReadRecoveredState(boolean notifyAndBlockOnCompletion) |
abortCheckpoint, acknowledgeAllDataProcessed, add, addRecovered, alignedBarrierTimeout, bufferSize, finish, flush, getAvailabilityAndBacklog, getBuffersInBacklogUnsafe, getChannelStateCheckpointId, getNumberOfQueuedBuffers, getTotalNumberOfBuffersUnsafe, getTotalNumberOfBytesUnsafe, isReleased, release, requestBufferBuilderBlocking, setChannelStateWriter, toString, unsynchronizedGetNumberOfQueuedBuffersadd, getSubPartitionIndex, getSubpartitionInfo, onConsumedSubpartitionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSubpartitionInfopublic PipelinedSubpartitionView createReadView(BufferAvailabilityListener availabilityListener)
releaseView() is called only before creating a new view.
There is still one corner case when a downstream task fails continuously in a short period of time then multiple netty worker threads can createReadView at the same time. TODO: This problem will be solved in FLINK-19774
createReadView 在类中 PipelinedSubpartitionpublic void finishReadRecoveredState(boolean notifyAndBlockOnCompletion)
throws IOException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.