@InternalApi public class FutureUtil extends Object
| Constructor and Description |
|---|
FutureUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
unwrap(Future<T> future)
Extract the underlying causes for the future's failure.
|
public static <T> T unwrap(Future<T> future) throws IOException
The future's and the callers stacktraces will be merged to ease debugging.
IOException