0

The thread pool can be configured in Quartz via the quartz property - org.quartz.threadPool.class

please help and let me know what are the best implementation available in Java (or) list of Java open sources which have the ThreadPool implementations where we can

a) Kill a Quartz Job (i.e) the current executing Thread and create a new Thread since the thread count should be not reduced in the Quartz scheduler due to this job removal b) Option to just kill the Quartz Job (i.e) current executing thread and manually create a new thread for the same since we have killed the same to terminate the process.

Thanks in advance, Kathir

4

1 回答 1

0

If you can use Spring in your project, then it comes with a TaskScheduler (thread pool) for Quartz. Or you can use the inbuilt thread pool. Look at this post sample on quartz scheduler thread pool

You can start from here How to cancel a scheduled job in Quartz

于 2012-11-27T14:33:15.660 回答