You can disable the pool maintenance thread for an individual free connection pool by setting its Reap time property to 0.
通过将获得时间属性设置为0,可以禁用个别空闲连接池的池维护线程。
2
Generally, an application can create event listeners with event handlers through multiple connection ports, but this is costly in terms of network resources and maintenance.
The maintenance thread looks at each connection in the pool, checks how long it has been in the pool, and how much time has elapsed since it was created and last used.