阅读背景:

Java 中的定时任务:Timer基础 Timer的缺陷 ScheduledExecutorService优势

来源:互联网 
代码基本一致,但是ScheduledExecutorService可以保证,task1出现异常时,不影响task2的运行:代码基本一致,但是ScheduledExecutorService可以保证,task1出现异常时,不


你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: