@Beta public interface UninterruptibleFuture<V> extends Future<V>
Future
whose get
calls cannot be interrupted. If a thread
is interrupted during such a call, the call continues to block until the
result is available or the timeout elapses, and only then re-interrupts the
thread. Obtain an instance of this type using Futures.makeUninterruptible(Future)
.V get() throws ExecutionException
get
in interface Future<V>
ExecutionException
V get(long timeout, TimeUnit unit) throws ExecutionException, TimeoutException
get
in interface Future<V>
ExecutionException
TimeoutException