Package com.google.api.core
Class ForwardingApiFuture<T>
java.lang.Object
com.google.api.core.ForwardingApiFuture<T>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ForwardingApiFuture
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
get
- Specified by:
get
in interfaceFuture<T>
- Throws:
InterruptedException
ExecutionException
-
get
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
get
in interfaceFuture<T>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<T>
-
isDone
public boolean isDone() -
addListener
- Specified by:
addListener
in interfaceApiFuture<T>
-