MCPcopy Create free account
hub / github.com/traneio/future / join

Method join

future-java/src/main/java/io/trane/future/Future.java:275–275  ·  view source on GitHub ↗

This method is similar to collect, but it discards the result of the futures. It's useful to wait for a list of pending future side effects. @param list the futures to wait for @return a void future that indicates that all futures are satisfied.

(final List<? extends Future<T>> list)

Source from the content-addressed store, hash-verified

273 * @return a void future that indicates that all futures are satisfied.
274 */
275 public static <T> Future<Void> join(final List<? extends Future<T>> list) {
276
277 switch (list.size()) {
278

Callers 15

genMethod · 0.95
joinEmptyMethod · 0.95
joinOneMethod · 0.95
joinSatisfiedFuturesMethod · 0.95
joinPromisesMethod · 0.95
joinPromisesExceptionMethod · 0.95
joinMixedMethod · 0.95
joinMixedExceptionMethod · 0.95
joinConcurrentResultsMethod · 0.95
joinInterruptsMethod · 0.95
joinTimeoutMethod · 0.95

Calls

no outgoing calls

Tested by 15

genMethod · 0.76
joinEmptyMethod · 0.76
joinOneMethod · 0.76
joinSatisfiedFuturesMethod · 0.76
joinPromisesMethod · 0.76
joinPromisesExceptionMethod · 0.76
joinMixedMethod · 0.76
joinMixedExceptionMethod · 0.76
joinConcurrentResultsMethod · 0.76
joinInterruptsMethod · 0.76
joinTimeoutMethod · 0.76