sample on quartz scheduler thread pool

送分小仙女□ 提交于 2019-12-08 00:15:05

问题


Please give me the sample on quartz scheduler using thread pooling in java


回答1:


OReilly has an article detailing the Quartz configuration for thread-pooling. Put the following in your quartz.properties.

org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount =  5
org.quartz.threadPool.threadPriority = 5


来源:https://stackoverflow.com/questions/1518558/sample-on-quartz-scheduler-thread-pool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!