Class ListenableFutureToApiFuture<V>

public class ListenableFutureToApiFuture<V> extends ForwardingListenableFuture.SimpleForwardingListenableFuture<V> implements ApiFuture<V>

INTERNAL USE ONLY. Adapter from Guava ListenableFuture to ApiFuture.

Inheritance

java.lang.Object > com.google.common.collect.ForwardingObject > com.google.common.util.concurrent.ForwardingFuture > com.google.common.util.concurrent.ForwardingListenableFuture > com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFuture > ListenableFutureToApiFuture<V>

Implements

com.google.api.core.ApiFuture<V>

Type Parameter

NameDescription
V

Constructors

ListenableFutureToApiFuture(ListenableFuture<V> delegate)

public ListenableFutureToApiFuture(ListenableFuture<V> delegate)
Parameter
NameDescription
delegatecom.google.common.util.concurrent.ListenableFuture<V>