摘要:
1、使用TimerTask定时开始周期性执行某个动作scheduleAtFixedRate(TimerTask task, long delay, long period)Schedule a task for repeated fixed-rate execution after a specific delay has passed.Parameterstaskthe task to schedule.delayamount of time in milliseconds before first execution.periodamount of time in milliseconds 阅读全文