Package com.google.appengine.api.utils
Class FutureWrapper<K extends @Nullable Object,V>
java.lang.Object
com.google.appengine.api.utils.FutureWrapper<K,V>
- All Implemented Interfaces:
Future<V>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FutureWrapper
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<K extends @Nullable Object>
-
isDone
public boolean isDone() -
get
- Specified by:
get
in interfaceFuture<K extends @Nullable Object>
- Throws:
ExecutionException
InterruptedException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, ExecutionException - Specified by:
get
in interfaceFuture<K extends @Nullable Object>
- Throws:
InterruptedException
TimeoutException
ExecutionException
-
hashCode
public final int hashCode() -
equals
-