You can disable the pool maintenance thread for an individual free connection pool by setting its Reap time property to 0.
通过将获得时间属性设置为0,可以禁用个别空闲连接池的池维护线程。
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.
维护线程在池中查看每个连接,检查连接在池中存放的时间以及连接自创建和最后一次使用以来已经过多长时间。
应用推荐