| |
|
| java.lang.Object org.ofbiz.service.job.JobPoller
MAX_JOBS | final public static int MAX_JOBS(Code) | | |
MAX_THREADS | final public static int MAX_THREADS(Code) | | |
MIN_THREADS | final public static int MIN_THREADS(Code) | | |
POLL_WAIT | final public static int POLL_WAIT(Code) | | |
isRunning | protected volatile boolean isRunning(Code) | | |
JobPoller | public JobPoller(JobManager jm)(Code) | | Creates a new JobScheduler
Parameters: jm - JobManager associated with this scheduler |
JobPoller | protected JobPoller()(Code) | | |
killThread | public synchronized void killThread(String threadName)(Code) | | |
next | public synchronized Job next()(Code) | | Returns the next job to run
|
queueNow | public synchronized void queueNow(Job job)(Code) | | Adds a job to the RUN queue
|
removeThread | public synchronized void removeThread(JobInvoker invoker)(Code) | | Removes a thread from the pool.
Parameters: invoker - The invoker to remove. |
run | public synchronized void run()(Code) | | |
stop | public void stop()(Code) | | Stops the JobPoller
|
|
|
|