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, create
get, get, isCancelled, isDone, run, runAndReset, set
ImmutableList<ListenableFuture<?>> futures
CombinerFuture(java.util.concurrent.Callable<V> callable, ImmutableList<ListenableFuture<?>> futures)
public boolean cancel(boolean mayInterruptIfRunning)
protected void done()
ListenableFutureTask
done
in class ListenableFutureTask<V>
protected void setException(java.lang.Throwable t)
setException
in class java.util.concurrent.FutureTask<V>