Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Method and Description |
---|---|
void |
FluentFuture.addCallback(FutureCallback<? super V> callback,
Executor executor)
Registers separate success and failure callbacks to be run when this
Future 's
computation is complete or, if the
computation is already complete, immediately. |
static <V> void |
Futures.addCallback(ListenableFuture<V> future,
FutureCallback<? super V> callback,
Executor executor)
Registers separate success and failure callbacks to be run when the
Future 's
computation is complete or, if the
computation is already complete, immediately. |
Copyright © 2010–2019. All rights reserved.