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)
| 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 |
no outgoing calls