Class MemoryPool.MemoryReservationFuture<V>

  • All Implemented Interfaces:
    com.google.common.util.concurrent.ListenableFuture<V>, java.util.concurrent.Future<V>
    Enclosing class:
    MemoryPool

    public static class MemoryPool.MemoryReservationFuture<V>
    extends com.google.common.util.concurrent.AbstractFuture<V>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <V> MemoryPool.MemoryReservationFuture<V> create​(java.lang.String queryId, long bytes)  
      long getBytes()  
      java.lang.String getQueryId()  
      boolean set​(V value)  
      • Methods inherited from class com.google.common.util.concurrent.AbstractFuture

        addListener, afterDone, cancel, get, get, interruptTask, isCancelled, isDone, pendingToString, setException, setFuture, toString, tryInternalFastPathGetFailure, wasInterrupted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getBytes

        public long getBytes()
      • getQueryId

        public java.lang.String getQueryId()
      • set

        public boolean set​(@Nullable
                           V value)
        Overrides:
        set in class com.google.common.util.concurrent.AbstractFuture<V>