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
ConstructorsConstructorDescriptionListenableFutureToApiFuture(com.google.common.util.concurrent.ListenableFuture<V> delegate) -
Method Summary
Methods inherited from class com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture
delegateMethods inherited from class com.google.common.util.concurrent.ForwardingListenableFuture
addListenerMethods inherited from class com.google.common.util.concurrent.ForwardingFuture
cancel, get, get, isCancelled, isDoneMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.api.core.ApiFuture
addListener
-
Constructor Details
-
ListenableFutureToApiFuture
-