Uses of Class
com.google.common.util.concurrent.Futures.FutureCombiner
-
Uses of Futures.FutureCombiner in com.google.common.util.concurrent
Modifier and TypeMethodDescriptionstatic <V extends @Nullable Object>
Futures.FutureCombiner<V> Futures.whenAllComplete
(ListenableFuture<? extends V>... futures) Creates aFutures.FutureCombiner
that processes the completed futures whether or not they're successful.static <V extends @Nullable Object>
Futures.FutureCombiner<V> Futures.whenAllComplete
(Iterable<? extends ListenableFuture<? extends V>> futures) Creates aFutures.FutureCombiner
that processes the completed futures whether or not they're successful.static <V extends @Nullable Object>
Futures.FutureCombiner<V> Futures.whenAllSucceed
(ListenableFuture<? extends V>... futures) Creates aFutures.FutureCombiner
requiring that all passed in futures are successful.static <V extends @Nullable Object>
Futures.FutureCombiner<V> Futures.whenAllSucceed
(Iterable<? extends ListenableFuture<? extends V>> futures) Creates aFutures.FutureCombiner
requiring that all passed in futures are successful.