| Package | Description | 
|---|---|
| com.google.common.util.concurrent | Concurrency utilities. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <V> void | Futures. addCallback(ListenableFuture<V> future,
           FutureCallback<? super V> callback)Deprecated. 
 Use the
     overload that requires an executor. For identical behavior, pass  MoreExecutors.directExecutor(), but consider whether another executor would be safer, as
     discussed in theListenableFuture.addListenerdocumentation. This method is scheduled to be removed in April 2018. | 
| 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-2017. All Rights Reserved.