|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.phleisch.app.itsucks.core.impl.DispatcherImpl
de.phleisch.app.itsucks.core.impl.DispatcherThread
public class DispatcherThread
Wrapper around the dispatcher to run the job processing in an new thread. Use the join method to wait for the dispatcher thread to finish.
| Constructor Summary | |
|---|---|
DispatcherThread()
|
|
| Method Summary | |
|---|---|
void |
join()
|
void |
processJobs()
Start processing the jobs in the job list and delegate it to free worker threads. |
| Methods inherited from class de.phleisch.app.itsucks.core.impl.DispatcherImpl |
|---|
addJob, addJobFilter, addJobFilter, doPauseLoop, getContext, getDispatchDelay, getEventManager, getJobManager, getName, getNextOpenJob, getWorkerPool, isPaused, isRunning, pause, setApplicationContext, setContext, setDispatchDelay, setEventManager, setFilterJobManager, setName, setWorkerPool, stop, unpause |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DispatcherThread()
| Method Detail |
|---|
public void processJobs()
Dispatcher
processJobs in interface DispatcherprocessJobs in class DispatcherImpl
public void join()
throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||