| Constructor and Description |
|---|
ImmediateFuture() |
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<Boolean>public Boolean get() throws InterruptedException, ExecutionException
get in interface Future<Boolean>InterruptedExceptionExecutionExceptionpublic Boolean get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<Boolean>InterruptedExceptionExecutionExceptionTimeoutExceptionGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly