代码中定时任务都是用Timer实现的,JDK官方已经建议使用ScheduledThreadPoolExecutor替代,而alibaba p3c插件也建议使用ScheduledThreadPoolExecutor。