Class ListenableFutureToApiFuture<V>

  • All Implemented Interfaces:
    ApiFuture<V>, com.google.common.util.concurrent.ListenableFuture<V>, Future<V>

    @InternalApi
    public class ListenableFutureToApiFuture<V>
    extends com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture<V>
    implements ApiFuture<V>
    INTERNAL USE ONLY. Adapter from Guava ListenableFuture to ApiFuture.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.common.util.concurrent.ForwardingListenableFuture

        com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture<V extends Object>
      • Nested classes/interfaces inherited from class com.google.common.util.concurrent.ForwardingFuture

        com.google.common.util.concurrent.ForwardingFuture.SimpleForwardingFuture<V extends Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      ListenableFutureToApiFuture​(com.google.common.util.concurrent.ListenableFuture<V> delegate)  
    • Method Summary

      • Methods inherited from class com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture

        delegate
      • Methods inherited from class com.google.common.util.concurrent.ForwardingListenableFuture

        addListener
      • Methods inherited from class com.google.common.util.concurrent.ForwardingFuture

        cancel, get, get, isCancelled, isDone
      • Methods inherited from class com.google.common.collect.ForwardingObject

        toString
    • Constructor Detail

      • ListenableFutureToApiFuture

        public ListenableFutureToApiFuture​(com.google.common.util.concurrent.ListenableFuture<V> delegate)