从 3.0 版本开始,Quartz 调度程序不再对 Spring 有用吗?
从 Spring 3 开始,Spring 的内部调度功能包括对 cron 类型表达式的支持,这与 Quartz 的 cron 触发器非常相似。
是否有任何理由想要将 Quartz 与 Spring 集成?
Spring's internal scheduling capability as of Spring 3, includes support for cron-type expressions, and this is very similar to Quartz's cron trigger.
Is there any reason why one would want to integrate Quartz with Spring?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您将需要 quarz,例如:
一般来说:如果您需要的不仅仅是在固定时间运行一个方法。
Yes, you will need quarz for example:
in general: if you need more than simply runing a method at fixed time.
Afaik,Spring 调度不支持持久作业存储、恢复由于停机而导致的失败或集群调度程序。 Quartz 多年来一直拥有这一切。
Afaik, Spring scheduling doesn't support persistent job stores, recovering misfires due to downtime, or clustered schedulers. Quartz has had all of this for years.