Class AsyncInvocationTask
- java.lang.Object
-
- org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask
-
-
Constructor Summary
Constructors Constructor Description AsyncInvocationTask(CancellationFlag cancelledFlag)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Objectget()Objectget(long timeout, TimeUnit unit)booleanisCancelled()booleanisDone()voidrun()protected abstract ObjectrunInvocation()
-
-
-
Constructor Detail
-
AsyncInvocationTask
public AsyncInvocationTask(CancellationFlag cancelledFlag)
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceFuture<Object>
-
get
public Object get() throws InterruptedException, ExecutionException
- 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
-
-