摘要:
1.查询正在运行的线程 SHOW PROCESSLIST; #或 select * from information_schema.PROCESSLIST; 2.批量生成杀线程的命令 select concat("kill ", ID, ";") as command from informatio 阅读全文
摘要:
Timer 基于单线程、系统时间实现的延时、定期任务执行类。具体可以看下面红色标注的代码。 public class Timer { /** * The timer task queue. This data structure is shared with the timer * thread. 阅读全文