Introduction
BeeCP is a lightweight JDBC connection pool, with characteristics of high performance, lightweight code, and good stability.
This update
1: Remove the configuration item: createTimeout.
2: Add a new configuration item: enableThreadLocal, with a default value of true, and setting it to false can support virtual threads.
3: Provide blocking scanning and automatic interruption handling in the connection pool (the method of blocking interruption has been provided on the data source in the previous version).
4: The data source monitoring interface provides blocking information display, and provides reset and interruption buttons (only appear when blocking timeout).
5: Adjust the class names of the two factory interface classes of the Connection: BeeConnectionFactory, BeeXaConnectionFactory (the related methods in the configuration object are adjusted synchronously).
6: Adjust the method names of the three methods about blocking on the data source to: getCreatingTime, isCreatingTimeout, interruptOnCreation.
This fix
1: Fix the null pointer exception that occurs when the connection pool is closed.
2: Fix the Jmx registration failure exception when the connection pool is initialized.
Maven coordinates
<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</<
span style=color:var(--color-prettylights-syntax-entity-tag)>artifactId><version>1.8.6</version></dependency>
Project addresses
https://github.com/Chris2018998/beecp
https://github.com/Chris2018998/beecp-starter
https://gitee.com/Chris2018998/BeeCP
https://gitee.com/Chris2018998/BeeCP-Starter
Performance test (Connection cycle)
PC: Win11, 32GB memory, I7-14650HX (24 cores)
POOL: Initial number: 24, maximum number: 24