private static final class Futures.CombinerFuture<V> extends ListenableFutureTask<V>
| Modifier and Type | Field and Description |
|---|---|
(package private) ImmutableList<ListenableFuture<?>> |
futures |
| Constructor and Description |
|---|
CombinerFuture(java.util.concurrent.Callable<V> callable,
ImmutableList<ListenableFuture<?>> futures) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
protected void |
done()
Internal implementation detail used to invoke the listeners.
|
protected void |
setException(java.lang.Throwable t) |
addListener, create, createget, get, isCancelled, isDone, run, runAndReset, setImmutableList<ListenableFuture<?>> futures
CombinerFuture(java.util.concurrent.Callable<V> callable, ImmutableList<ListenableFuture<?>> futures)
public boolean cancel(boolean mayInterruptIfRunning)
protected void done()
ListenableFutureTaskdone in class ListenableFutureTask<V>protected void setException(java.lang.Throwable t)
setException in class java.util.concurrent.FutureTask<V>