摘要:
一、setExecuteExistingDelayedTasksAfterShutdownPolicy方法 这个方法大多是与schedule方法和shutdown方法搭配使用的。 public void setExecuteExistingDelayedTasksAfterShutdownPolic 阅读全文
posted @ 2017-04-26 20:36
L1019
阅读(599)
评论(0)
推荐(0)
摘要:
一、scheduleAtFixedRate方法 该方法是ScheduledExecutorService中的方法,用来实现周期性执行给定的任务,public ScheduledFuture<?> scheduleAtFixedRate(Runnable command,long initialDel 阅读全文
posted @ 2017-04-26 16:49
L1019
阅读(5197)
评论(0)
推荐(1)