Interface HsSubpartitionFileReader

    • Method Detail

      • prepareForScheduling

        void prepareForScheduling()
        Do prep work before this HsSubpartitionFileReader is scheduled to read data.
      • readBuffers

        void readBuffers​(Queue<org.apache.flink.core.memory.MemorySegment> buffers,
                         BufferRecycler recycler)
                  throws IOException
        Read data from disk.
        Parameters:
        buffers - for reading, note that the ownership of the buffer taken out from the queue is transferred to this class, and the unused buffer must be returned.
        recycler - to return buffer to read buffer pool.
        Throws:
        IOException
      • fail

        void fail​(Throwable failureCause)
        Fail this HsSubpartitionFileReader caused by failureCause.
        Parameters:
        failureCause - represents the reason why it failed.