java定时功能分析 1.Timer、TimerTask,缺点并发支持不好,无定时规则功能 2.ThreadPoolExecutor,将任务产生和执行分离 3.Spring TaskExecutor,增强兼容性和使用便捷 4.Quartz,增强功能 岁月留痕