Class ForwardingFuture<V>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ForwardingFuture.SimpleForwardingFuture<V>
      Deprecated.
      The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean cancel​(boolean mayInterruptIfRunning)
      Deprecated.
       
      V get()
      Deprecated.
       
      V get​(long timeout, java.util.concurrent.TimeUnit unit)
      Deprecated.
       
      boolean isCancelled()
      Deprecated.
       
      boolean isDone()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • cancel

        public boolean cancel​(boolean mayInterruptIfRunning)
        Deprecated.
        Specified by:
        cancel in interface java.util.concurrent.Future<V>
      • isCancelled

        public boolean isCancelled()
        Deprecated.
        Specified by:
        isCancelled in interface java.util.concurrent.Future<V>
      • isDone

        public boolean isDone()
        Deprecated.
        Specified by:
        isDone in interface java.util.concurrent.Future<V>
      • get

        public V get()
              throws java.lang.InterruptedException,
                     java.util.concurrent.ExecutionException
        Deprecated.
        Specified by:
        get in interface java.util.concurrent.Future<V>
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
      • get

        public V get​(long timeout,
                     java.util.concurrent.TimeUnit unit)
              throws java.lang.InterruptedException,
                     java.util.concurrent.ExecutionException,
                     java.util.concurrent.TimeoutException
        Deprecated.
        Specified by:
        get in interface java.util.concurrent.Future<V>
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.util.concurrent.TimeoutException