摘要: CREATE TABLE `student` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(20) DEFAULT NULL, `age` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGIN 阅读全文
posted @ 2021-06-28 09:52 Bonnie_ξ 阅读(389) 评论(0) 推荐(0)
摘要: scheduleAtFixedRate 每间隔一段时间执行,分为两种情况: /** * 任务执行时间(8s)小于间隔时间(10s) */ public class ScheduleTest { static ScheduledExecutorService scheduler = Executors 阅读全文
posted @ 2021-06-28 09:27 Bonnie_ξ 阅读(75) 评论(0) 推荐(0)