public final class Completion extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
join(CompletableFuture<T> future)
Joins the given
future by calling CompletableFuture.join(). |
public static <T> T join(CompletableFuture<T> future)
future by calling CompletableFuture.join(). If the given
future was completed exceptionally, this method will throw the cause of that CompletionException.T - generic future result typefuture - the given futureRuntimeException - the exception if the given future was completed exceptionallyCompletableFuture.join(),
Throwable.getCause()Copyright © 2015–2017 Zalando SE. All rights reserved.