Interface DirectExchangeBuffer

    • Method Detail

      • isBlocked

        com.google.common.util.concurrent.ListenableFuture<Void> isBlocked()
        This method may be called by multiple independent client concurrently. Implementations must ensure the cancellation of a future by one of the clients doesn't cancel futures obtained by other clients.
      • pollPage

        io.airlift.slice.Slice pollPage()
      • addTask

        void addTask​(TaskId taskId)
      • addPages

        void addPages​(TaskId taskId,
                      List<io.airlift.slice.Slice> pages)
      • taskFinished

        void taskFinished​(TaskId taskId)
      • noMoreTasks

        void noMoreTasks()
      • isFinished

        boolean isFinished()
      • isFailed

        boolean isFailed()
      • getRemainingCapacityInBytes

        long getRemainingCapacityInBytes()
      • getRetainedSizeInBytes

        long getRetainedSizeInBytes()
      • getMaxRetainedSizeInBytes

        long getMaxRetainedSizeInBytes()
      • getBufferedPageCount

        int getBufferedPageCount()
      • getSpilledBytes

        long getSpilledBytes()
      • getSpilledPageCount

        int getSpilledPageCount()