摘要: 一、基础篇 1.线程池的参数 1> CorePoolSize 核心线程数 2> MaxPoolSize 最大线程数 3> QueueCapacity 队列容量 4> KeepAliveSecond 没有任务存活时间 5> TimeUnit 时间单位 6> rejectedExecutionHandl 阅读全文
posted @ 2020-06-05 21:40 井因 阅读(1835) 评论(0) 推荐(0)
摘要: 服务相关 1.1查看服务状态 sudo netstat -tap | grep mysql netstat -tl | grep mysql 1.2清理链接缓存 /usr/bin/mysqladmin flush-hosts -h192.1......(ip) -P3306 -uuser -ppas 阅读全文
posted @ 2020-06-05 21:35 井因 阅读(513) 评论(0) 推荐(0)