scheduleAtFixedRate 与 scheduleWithFixedDelay 的区别
摘要:总结: scheduleAtFixedRate ,是以上一个任务开始的时间计时,period时间过去后,检测上一个任务是否执行完毕,如果上一个任务执行完毕,则当前任务立即执行,如果上一个任务没有执行完毕,则需要等上一个任务执行完毕后立即执行。 scheduleWithFixedDelay,是以上一个
阅读全文
posted @ 2018-11-26 15:57
浙公网安备 33010602011771号