|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface to be implemented by classes that want to provide a thread
pool for the 's use.
QuartzScheduler
QuartzScheduler| Method Summary | |
int |
getPoolSize()
|
void |
initialize()
Called by the QuartzScheduler before the ThreadPool is
used, in order to give the it a chance to initialize. |
boolean |
runInThread(Runnable runnable)
Execute the given in the next
available Thread. |
void |
shutdown(boolean waitForJobsToComplete)
Called by the QuartzScheduler to inform the ThreadPool
that it should free up all of it's resources because the scheduler is
shutting down. |
| Method Detail |
public boolean runInThread(Runnable runnable)
Execute the given in the next
available RunnableThread.
The implementation of this interface should not throw exceptions unless there is a serious problem (i.e. a serious misconfiguration). If there are no available threads, rather it should either queue the Runnable, or block until a thread is available, depending on the desired strategy.
public void initialize()
throws SchedulerConfigException
Called by the QuartzScheduler before the ThreadPool is
used, in order to give the it a chance to initialize.
SchedulerConfigExceptionpublic void shutdown(boolean waitForJobsToComplete)
Called by the QuartzScheduler to inform the ThreadPool
that it should free up all of it's resources because the scheduler is
shutting down.
public int getPoolSize()
|
Quartz Enterprise Job Scheduler Project Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||