| Constructor and Description |
|---|
AsyncInvocationTask(CancellationFlag cancelledFlag) |
public AsyncInvocationTask(CancellationFlag cancelledFlag)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Futurepublic Object get() throws InterruptedException, ExecutionException
get in interface FutureInterruptedExceptionExecutionExceptionpublic Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface FutureInterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.