摘要:
设置全局 set global collation_connection = utf8mb4_general_ci set global default_collation_for_utf8mb4 = utf8mb4_general_ci 注: default_collation_for_utf8m 阅读全文
摘要:
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. 阅读全文