org.glassfish.grizzly.web.arp
Interface AsyncTask
- All Superinterfaces:
- Callable, Runnable, Task
- All Known Implementing Classes:
- AsyncProcessorTask
public interface AsyncTask
- extends Task
A Task that wraps the execution of an asynchronous execution
of a ProcessorTask.
- Author:
- Jean-Francois Arcand
| Methods inherited from interface java.lang.Runnable |
run |
| Methods inherited from interface java.util.concurrent.Callable |
call |
PRE_EXECUTE
static final int PRE_EXECUTE
- See Also:
- Constant Field Values
INTERRUPTED
static final int INTERRUPTED
- See Also:
- Constant Field Values
POST_EXECUTE
static final int POST_EXECUTE
- See Also:
- Constant Field Values
COMPLETED
static final int COMPLETED
- See Also:
- Constant Field Values
EXECUTE
static final int EXECUTE
- See Also:
- Constant Field Values
getAsyncExecutor
AsyncExecutor getAsyncExecutor()
- Get the
AsyncExecutor.
setAsyncExecutor
void setAsyncExecutor(AsyncExecutor asyncExecutor)
- Set the
AsyncExecutor used by this Task
to delegate the execution of a ProcessorTask.
getStage
int getStage()
- Return the
stage of the current execution.
Copyright © 2009 SUN Microsystems. All Rights Reserved.