public static interface FutureUtils.ConjunctFuture<T> extends CompletableFuture<T>
The advantage of using the ConjunctFuture over chaining all the futures (such as via
Future.thenCombine(Future, BiFunction)) is that ConjunctFuture also tracks how
many of the Futures are already complete.
|Modifier and Type||Method and Description|
Gets the number of Futures in the conjunction that are already complete.
Gets the total number of Futures in the conjunction.
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.