By default, the pool maintained thread runs every 180 seconds (3 minutes), although this value can be changed by setting the connection pool Reap time property.
缺省情况下,池维护的线程每180秒(3分钟)运行一次,但是通过设置连接池获得时间属性可以更改此值。
The article also discusses how to initially configure the memory, thread pool, and JDBC connection pool on the application server.
本文还讨论了如何在应用服务器上配置内存、线程池和JDBC连接池的初始值。
This article explained the behavior of the maximum sessions property and its relationship to the message listener service thread pool, connection pool, and session pool.
本文解释了最大会话属性的行为及其与消息侦听器服务线程池、连接池和会话池的关系。
Finally, in the case of connection pools associated with JCA resource adapters, it is in fact possible to use a different thread pool for different resource adapters.
最后,对于与JCA资源适配器相关联的连接池,事实上可以对不同的资源适配器使用不同的线程池。
You can disable the pool maintenance thread for an individual free connection pool by setting its Reap time property to 0.
通过将获得时间属性设置为0,可以禁用个别空闲连接池的池维护线程。
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.
维护线程在池中查看每个连接,检查连接在池中存放的时间以及连接自创建和最后一次使用以来已经过多长时间。
The connection has existed for three minutes, which is less than Aged timeout, so the pool maintenance thread leaves it alone and goes back to sleep.
该连接已存在三分钟,这小于过时超时时间,这样池维护线程将保留该连接,并回到睡眠状态。
Figure 1 shows the relationship between the connection pool, session pool, thread pool and the maximum sessions property.
图1显示了连接池、会话池、线程池和最大会话属性之间的关系。
The goal of tuning the connection pool is to ensure that each thread that needs a connection to the database has one, and that requests are not queued up waiting to access the database.
调优连接池的目标是确保各线程都有一个数据库连接,并且请求不需要排队以等待访问数据库。
If the pool maintenance thread decides that a connection in the free pool needs to be discarded, it physically closes the connection to the JMS provider.
如果池维护线程确定需要丢弃空闲池中的连接,则它物理关闭到JMS提供程序的连接。
Throughput issues are generally caused by increased wait time during request processing due to contention of resources (CPU, memory, disk, thread pool, connection pool, etc.).
吞吐量问题通常是由处理请求期间因为争用资源(CPU、内存、硬盘、线程池、连接池等)而导致的等待时间增加所引起的。
Never have a maximum connection pool size that is greater than the servlet engine thread count.
绝不要使最大的连接池大小大于servlet引擎线程的数量。
There is a free connection c1 in the pool, so the maintenance thread looks at the time the connection was put back, and compares this to the current time.
池中有一个空闲连接c1,这样维护线程查看将连接放回的时间,并将其与当前时间进行比较。
The behaviour of the pool maintenance thread is determined by the value of four properties of the connection pool.
池维护线程的行为由连接池的四个属性值确定。
This trace entry indicates that the thread is waiting for a free connection from a WebSphere Application Server connection pool.
此跟踪条目表明线程在等待WebSphereApplicationServer连接池中的空闲连接。
As you can see, the pool maintenance thread does a lot of work when it "wakes up," particularly if there are a large number of connections in the connection factory's free pool.
正如您看到的,池维护线程在“醒来”时会执行许多工作,尤其是在连接工厂的空闲池中存在大量的连接时。
Connection pooling is a technique of creating and managing a pool of connections that are ready for use by any thread that needs them.
“连接池”是一种建立和管理连接的技术,它已经在一些需要这种调度技术的应用中使用了。
It applies configuration parameter, setting up the thread of monitoring and running log of management scheme etc, to solve the inefficiency of current connection pool.
从配置参数调整、设置监听线程和运行日志等管理方案的实施,弥补了现有连接池技术的不足。
It applies configuration parameter, setting up the thread of monitoring and running log of management scheme etc, to solve the inefficiency of current connection pool.
从配置参数调整、设置监听线程和运行日志等管理方案的实施,弥补了现有连接池技术的不足。
应用推荐