Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Class and Description |
---|---|
private static class |
AsyncSettableFuture.NestedFuture<V> |
private static class |
Futures.ChainingListenableFuture<I,O>
An implementation of
ListenableFuture that also implements
Runnable so that it can be used to nest ListenableFutures. |
private static class |
Futures.CombinedFuture<V,C> |
private static class |
Futures.FallbackFuture<V>
A future that falls back on a second, generated future, in case its
original future fails.
|
private static class |
Futures.NonCancellationPropagatingFuture<V>
A wrapped future that does not propagate cancellation to its delegate.
|
private static class |
MoreExecutors.ScheduledListeningDecorator.NeverSuccessfulListenableFutureTask |
class |
SettableFuture<V>
A
ListenableFuture whose result may be set by a SettableFuture.set(Object)
or SettableFuture.setException(Throwable) call. |
Modifier and Type | Method and Description |
---|---|
private static java.lang.Runnable |
Futures.rejectionPropagatingRunnable(AbstractFuture<?> outputFuture,
java.lang.Runnable delegateTask,
java.util.concurrent.Executor delegateExecutor)
Returns a Runnable that will invoke the delegate Runnable on the delegate executor, but if the
task is rejected, it will propagate that rejection to the output future.
|