开发者

How does quartz track the time

开发者 https://www.devze.com 2023-01-01 14:31 出处:网络
How does quartz track the time ? Is it a continuous timer running in background or does it somehow uses the OS scheduler or is it somet开发者_StackOverflow社区hing else ?

How does quartz track the time ? Is it a continuous timer running in background or does it somehow uses the OS scheduler or is it somet开发者_StackOverflow社区hing else ?

Which class actually holds this feature ?

Thanks.


As far as I digged into Quartz source code, I found (at least for StdScheduler implementation which is proxy of QuartzScheduler) that its scheduling thread QuartzSchedulingThread uses System.currentTimeMillis() for prediction of the next job trigger run.

Please look inside QuartzSchedulerThread.java .

0

精彩评论

暂无评论...
验证码 换一张
取 消