public final class Uninterruptibles
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <V> V |
getUninterruptibly(java.util.concurrent.Future<V> future)
Invokes
future.get() uninterruptibly. |
public static <V> V getUninterruptibly(@Nonnull
java.util.concurrent.Future<V> future)
throws java.util.concurrent.ExecutionException
future.get() uninterruptibly.
To get uninterruptibility and remove checked exceptions, seejava.util.concurrent.ExecutionException - if the computation threw an exception