JDBC 连接池 BeeCP-4.0.5 发布
介绍
BeeCP 是一款轻量级JDBC连接池,具有性能高,代码轻,稳定好的特点
本次更新
1:移除配置项:createTimeout
2:新增配置项:enableThreadLocal,默认值为true,设置为false可于支持虚拟线程
3:连接池内提供阻塞扫描和自动中断处理(前一版本在数据源上已提供中断阻塞的方法)
4:数据源监控界面提供阻塞信息展示,并提供重置和中断按钮(阻塞超时才出现)
5:Connection的两个工厂接口类名调整:BeeConnectionFactory,BeeXaConnectionFactory(配置对象中相关方法同步调整)
6:数据源上三个关于阻塞的方法名调整为:getCreatingTime, isCreatingTimeout,interruptOnCreation
本次修复
1:修复连接池关闭时出现的空指针异常
2:修复连接池初始化时Jmx注册失败异常
Maven坐标
<dependency> <groupId>com.github.chris2018998</groupId> <artifactId>beecp</artifactId> <version>4.0.5</version> </dependency>
<dependency> <groupId>com.github.chris2018998</groupId> <artifactId>beecp-spring-boot-starter</artifactId> <version>1.8.6</version> </dependency>
项目地址
https://github.com/Chris2018998/beecp
https://github.com/Chris2018998/beecp-starter
https://gitee.com/Chris2018998/BeeCP
https://gitee.com/Chris2018998/BeeCP-Starter
性能测试(Connection cycle)
PC: Win11,32G内存,I7-14650HX(24核)
POOL: 初始数:24,最大数:24
.jpg)