使用组件实例池功能,降低了客户端应用访问组件的时间开销。
To reduce the time spending of client accessing the component using the component instance pooling.
在应用程序启动时,创建了一个PatientRecord实例或者创建了实例池。
A PatientRecord instance, or pool of instances, is created at the start of the application.
迄今为止,您已经建立了一个高度可用的服务IP地址,并将其绑定到realserver实例池。
So far, you have established a highly available service IP address and bound that to the pool of realserver instances.
Rails没有将ActionController的实例池化;相反,它为每个请求创建新的实例。
Rails doesn't pool the instance of the ActionController; instead, it creates a new instance for each request.
首先,它将使代码变得复杂,因为您将不得不进行池的管理,也不得不跟踪xhr实例的生命周期。
First, it would complicate your code because you would have to manage a pool and track the life cycle of the XHR instances.
这种映射能够工作得很好,因为它的确将池大小限制在5 之内,同时又没有将活动实例的数目限制为 5。
The mapping works fine, in that it does limit the pool size to 5, but it doesn't limit that number of active instances to 5.
随需应变路由器将这些请求发送到动态集群,该动态集群是一个应用程序服务器和应用程序实例可以消耗的资源池。
The on demand router sends these requests to dynamic clusters, which represent a pool of resource that application servers and application instances can consume.
该变量被设计用来保存连接池对象的一个实例。
That variable is designed to hold an instance of a connection pool object.
您能够构造基于页面定位的不同联合的测试实例,并且将每一个要求用户输入的页面同一个或者多个数据池相关联。
You can build test cases based on different combinations of page navigation, and associate each page that requires user input with one or more Datapools.
然而,对于使用大量测试数据构造起来的真正可升级的测试实例来说,替换数据池也许并不是最佳的解决方案。
However, for truly scalable test cases built by using a huge set of test data, substituting Datapools may not be the best solution.
连接管理器在应用服务器中查询连接池的实例。
The connection manager looks for an instance of a connection pool in the application server.
在TDS代理实例上执行以下命令,它向TDS代理注册四个后端服务器,连接池大小设置为10。
Run the following commands on the TDS proxy instance, and it will register all four back ends to the TDS proxy with a connection pool of 10.
如果应用已经使用JDBC 2.0连接池启用的数据库,那么,您所要做的只是为JMS配置jndi特性,以使用那个JDBC实例。
If the application is already using a JDBC 2.0 connection pool-enabled database, then all you need to do is configure the JNDI property for the JMS to use that JDBC instance.
使用对象池限制特定类的实例的数量。
Object pools are used to restrict the number of instances of a certain class.
用实例来填充空闲池可以提高初始响应时间,因为对该bean的初始请求不用生成新的实例即可得到满足。
Populating the free pool with instances improves initial response time, because initial requests for the bean can be satisfied without generating a new instance.
分析这段代码时您可以看到,我们添加了另一个队列实例,然后将该队列传递给第一个线程池类ThreadURL。
In looking at the code, you can see that we added another instance of a queue, and then passed that queue into the first thread pool class, ThreadURL.
因此,启动Bean是线程池实例的所有者。
The startup bean is therefore the owner of the thread pool instance.
如果池是空的,WebSphereApplicationServer将创建新的实例(而不是让请求在那等待)。
WebSphere Application Server will create a new instance if the pool is empty (instead of making that request wait).
清单1底部的四行代码则证明无论请求ConnPool池类的一个实例多少次,它都会返回相同的对象。
The four lines of code at the bottom of Listing 1 prove that no matter how many times you ask for an instance of the ConnPool pool class, it will always return the same object.
要使用WASThreadFactory,应用程序必须首先查找AsynchronousBeans WorkManager,创建一个 WASThreadFactory 实例,然后构造新的线程池。
To use the WASThreadFactory, the application must first look up an Asynchronous Beans WorkManager, create a WASThreadFactory instance, and then construct a new thread pool.
假定有一组特性和性质,解析器池应该从内部池中返回一个解析器,如果内部池中没有解析器,那么解析器池应该创建并保存一个新的解析器实例。
Given a set of features and properties, the parser pool should either return a parser from an internal pool or create and store a new parser instance if one does not exist.
一旦某个流实例完成其输入文件的处理,该实例立即返回线程池,并开始处理列表中的下一个输入文件。
As soon as a flow instance finishes processing its input file, it returns to the thread pool and begins work on the next input file from the list.
如果对象池大小没有正确调优,许多未使用的对象实例最终会被闲置,耗尽内存而不产生任何价值。
If the pool size is not tuned correctly, many unused object instances can end up hanging around, using up memory without contributing value.
资源的大部分类型实际上都是资源工厂,容器以此来控制实例的产生、缓冲池的组合以及共享资源连接。
Most types of resources are actually resource factories, which the container USES to control instance creation, pooling, and sharing of the resource connections.
根据实例的大小,捕获它最多可能需要30分钟时间,然后,将实例从一个池复制到另一个池并对其实例化可能需要同样的时间。
Depending on the size of the instance it can take up to 30 minutes to capture it, and then a similar amount of time to copy it from one pool to another and re-instantiate it.
比如数据库连接池就是单例设计模式的一个例子:我们一般不想让应用程序具有连接池类的多个资源密集型实例。
An example use case for a singleton would be a database connection pool: you don't want your application to have multiple resource-intensive instances of a connection pool class.
连接池可提高性能,因为一将数据源对象实例化,它就会创建一个连接。
Connection pooling improves performance as a data source object creates a connection as soon as it is instantiate.
可以查询此类对象池以获得类类型实例,如前面关于池技术的示例中所述。
Such pools can be queried for an instance of the class type, as given in the previous example about pools.
开始时,我们将创建实例应用程序,这个程序使用Hibernate自己的连接池以及事务管理(同样请参考“fullcream ”架构)。
To begin, we will create a sample application which USES Hibernate's own connection pooling and transaction management (also referred to as "full cream" architecture).
开始时,我们将创建实例应用程序,这个程序使用Hibernate自己的连接池以及事务管理(同样请参考“fullcream ”架构)。
To begin, we will create a sample application which USES Hibernate's own connection pooling and transaction management (also referred to as "full cream" architecture).
应用推荐