ScheduledExecutorService —定时周期执行指定的任务

//ScheduledThreadExecutor只支持相对时间。 //接口scheduleAtFixedRate原型定义及参数说明 //public ScheduledFuture<?> scheduleAtFixedRate(Runnable command,long initialDelay,long period,TimeUnit unit); command:执行线程 initialD
相关文章
相关标签/搜索