Package com.google.api.core
Class ListenableFutureToApiFuture<V>
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.util.concurrent.ForwardingFuture<V>
-
- com.google.common.util.concurrent.ForwardingListenableFuture<V>
-
- com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture<V>
-
- com.google.api.core.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.api.core.ApiFuture
addListener
-
-
-
-
Constructor Detail
-
ListenableFutureToApiFuture
public ListenableFutureToApiFuture(com.google.common.util.concurrent.ListenableFuture<V> delegate)
-
-