Interface ExchangeClientBuffer

    • 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.
      • addTask

        void addTask​(TaskId taskId)
      • taskFinished

        void taskFinished​(TaskId taskId)
      • noMoreTasks

        void noMoreTasks()
      • isFinished

        boolean isFinished()
      • getRemainingCapacityInBytes

        long getRemainingCapacityInBytes()
      • getRetainedSizeInBytes

        long getRetainedSizeInBytes()
      • getMaxRetainedSizeInBytes

        long getMaxRetainedSizeInBytes()
      • getBufferedPageCount

        int getBufferedPageCount()