Class AsyncInvocationTask
java.lang.Object
org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask
runnable used to invoke local Jakarta Enterprise Beans async methods
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AsyncInvocationTask
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
runInvocation
- Throws:
Exception
-
run
public void run() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<Object>
-
isDone
public boolean isDone() -
get
- Specified by:
getin interfaceFuture<Object>- Throws:
InterruptedExceptionExecutionException
-
get
public Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<Object>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-