Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以告诉我石英 1.8.5 的 deleteJob() 和 unscheduleJob() 之间的区别吗?
谢谢。
如果您查看 QuartzScheduler.java 中这两种方法的实现,您会注意到 deleteJob(JobKey jobKey)
而 unscheduleJob(TriggerKey triggerKey) 只是取消调度触发器,因此如果其他触发器引用此作业,它们将不会被更改。