SQL检测超时工具类
摘要:1.简述 这个工具类主要是为了防止sql卡死或执行时间过长所编写的,这样做可以减少数据库占用资源,是使用定时器进行检测的。下面的案例我就没写定时器了,只是写了检测方法。该方法可以根据需求自己进行修改。 2.实现 /**测试类 */ public class Test{ public static v
阅读全文
posted @ 2020-09-30 09:09
posted @ 2020-09-30 09:09
posted @ 2020-09-24 10:07
posted @ 2020-09-23 19:44
posted @ 2020-09-23 19:14
posted @ 2020-09-23 17:59
posted @ 2020-09-23 17:54
posted @ 2020-09-23 17:27