QuartzScheduler.NET - 在调度程序运行时添加新的作业定义
谁能告诉我,一旦调度程序启动并运行,quartz 是否允许您添加其他作业类型?
我认为我们的 quarts 实现将是一个使用 ram 存储的 asp.net 服务。随着时间的推移,很可能会写入新的作业,并且我们希望将这些作业添加到调度程序中,而不必关闭服务。
Can anyone please say if quartz will allow you to add additional job types once the scheduler is up and running?
I reckon that our implementation of quarts will be an asp.net service using ram store. It is likely that new jobs will be written over time and that we will want to add these jobs into the scheduler without having to shut the service down.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,只要与新作业类型相关的类进入类路径,您的类加载器就会发现它们。 Quartz 不会“预加载”或“预发现”作业类 - 它只是在引用它们时加载它们。
Yes, so long as the classes related to the new job types make it into the classpath, and your class loader will discover them. Quartz does nothing to "preload" or "prediscover" job classes - it just loads them as they're referenced.