Interface HashSubpartitionBufferAccumulatorContext
-
- All Known Implementing Classes:
HashBufferAccumulator
public interface HashSubpartitionBufferAccumulatorContextThis interface is used byHashSubpartitionBufferAccumulatorto operateHashBufferAccumulator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflushAccumulatedBuffers(TieredStorageSubpartitionId subpartitionId, List<Buffer> accumulatedBuffers)Flush the accumulatedBuffers of the subpartition.BufferBuilderrequestBufferBlocking()RequestBufferBuilderfrom theBufferPool.
-
-
-
Method Detail
-
requestBufferBlocking
BufferBuilder requestBufferBlocking()
RequestBufferBuilderfrom theBufferPool.- Returns:
- the requested buffer
-
flushAccumulatedBuffers
void flushAccumulatedBuffers(TieredStorageSubpartitionId subpartitionId, List<Buffer> accumulatedBuffers)
Flush the accumulatedBuffers of the subpartition.- Parameters:
subpartitionId- the subpartition idaccumulatedBuffers- the accumulated buffers
-
-