石英调度程序线程池上的示例 [英] sample on quartz scheduler thread pool

查看:112
本文介绍了石英调度程序线程池上的示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请使用java中的线程池给我石英调度程序上的示例

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

推荐答案

OReilly有文章详细说明了线程的Quartz配置 - 池。将以下内容放入 quartz.properties

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

这篇关于石英调度程序线程池上的示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆