|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Something that runs AsyncJobs. Specific implementations of this interface will implement different strategies for running jobs, such as blocking the current thread, spawning a thread, or using threads in a pool.
Method Summary | |
void |
addAsyncJobListener(AsyncJobListener listener)
Add a job listener. |
void |
removeAsyncJobListener(AsyncJobListener listener)
Remove a job listener. |
AsyncJobExecution |
startJob(AsyncJob job)
Start a job using this runner. |
Method Detail |
public AsyncJobExecution startJob(AsyncJob job)
job
- job to start
public void addAsyncJobListener(AsyncJobListener listener)
listener
- listener to addpublic void removeAsyncJobListener(AsyncJobListener listener)
listener
- listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |