|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.raritantechnologies.utils.queue.QueueEventDispatcher
com.raritantechnologies.searchApp.scheduler.JobDispatcher
Job Dispatcher for recurring Jobs. Extends QueueEventDispatcher which polls the QueueManager for available jobs to process. When a new job is available the dispatch( ) method is called. Runs in a separate thread from the main process.
dispatch( ) should get a Job object. It then gets the IJobProcess and send the execute command. It then updates the JobSchedule that the job has been successfully executed.
| Field Summary |
| Fields inherited from class com.raritantechnologies.utils.queue.QueueEventDispatcher |
manager |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
JobDispatcher(QueueManager manager)
|
|
JobDispatcher(QueueManager manager,
java.lang.String[] args)
|
|
| Method Summary | |
protected void |
dispatch(java.lang.Object theEvent)
|
| Methods inherited from class com.raritantechnologies.utils.queue.QueueEventDispatcher |
run, start, stopIt |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JobDispatcher(QueueManager manager)
public JobDispatcher(QueueManager manager,
java.lang.String[] args)
| Method Detail |
protected void dispatch(java.lang.Object theEvent)
dispatch in class QueueEventDispatcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||