Interface HashSubpartitionBufferAccumulatorContext

    • Method Detail

      • flushAccumulatedBuffers

        void flushAccumulatedBuffers​(TieredStorageSubpartitionId subpartitionId,
                                     Buffer accumulatedBuffer,
                                     int numRemainingConsecutiveBuffers)
        Flush the accumulated Buffers of the subpartition.
        Parameters:
        subpartitionId - the subpartition id
        accumulatedBuffer - the accumulated buffer
        numRemainingConsecutiveBuffers - number of buffers that would be passed in the following invocations and should be written to the same segment as this one