This code retrieves an instance from the pool, avoiding the memory allocation, construction, and eventual garbage collection.
代码从池中检索到一个实例,从而避免了内存分配、构建和最终的垃圾回收。
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.
假定有一组特性和性质,解析器池应该从内部池中返回一个解析器,如果内部池中没有解析器,那么解析器池应该创建并保存一个新的解析器实例。
That variable is designed to hold an instance of a connection pool object.
该变量被设计用来保存连接池对象的一个实例。
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.
一旦某个流实例完成其输入文件的处理,该实例立即返回线程池,并开始处理列表中的下一个输入文件。
My understanding is that when the maximum number of instances in the session EJB pool are allocated and a new one is created, one unlucky active instance is passivated.
我的理解是,当会话EJB池中分配的实例数目达到最大值,并且创建了一个新实例的时候,某个不幸的活动实例将会被钝化。
My understanding is that when the maximum number of instances in the session EJB pool are allocated and a new one is created, one unlucky active instance is passivated.
我的理解是,当会话ejb池中分配的实例数目达到最大值,并且创建了一个新实例的时候,某个不幸的活动实例将会被钝化。
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.
根据实例的大小,捕获它最多可能需要30分钟时间,然后,将实例从一个池复制到另一个池并对其实例化可能需要同样的时间。
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.
在TDS代理实例上执行以下命令,它向TDS代理注册四个后端服务器,连接池大小设置为10。
A PatientRecord instance, or pool of instances, is created at the start of the application.
在应用程序启动时,创建了一个PatientRecord实例或者创建了实例池。
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.
分析这段代码时您可以看到,我们添加了另一个队列实例,然后将该队列传递给第一个线程池类ThreadURL。
The startup bean is therefore the owner of the thread pool instance.
因此,启动Bean是线程池实例的所有者。
The getObject() method retrieves an instance of the given class from the pool.
getObject()方法从池中获取给定类的一个实例。
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.
清单1底部的四行代码则证明无论请求ConnPool池类的一个实例多少次,它都会返回相同的对象。
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.
要使用WASThreadFactory,应用程序必须首先查找AsynchronousBeans WorkManager,创建一个 WASThreadFactory实例,然后构造新的线程池。
Populating the free pool with instances improves initial response time, because initial requests for the bean can be satisfied without generating a new instance.
用实例来填充空闲池可以提高初始响应时间,因为对该bean的初始请求不用生成新的实例即可得到满足。
Rails doesn't pool the instance of the ActionController; instead, it creates a new instance for each request.
Rails没有将ActionController的实例池化;相反,它为每个请求创建新的实例。
The database pool will keep a pool of connections to the SAMPLEDB database instance. To create a database pool.
该数据库池将保持到SAMPLEDB数据库实例的一个连接池。
LiveOps, for instance, submits people who would like to join its pool of freelancers to a battery of tests to assess their suitability for cloud-mediated work.
例如,LiveOps公司会传送一组测验给想要加入的人以评定其是否适宜从事在“云”技术环境中的工作。
WebLogic will not create another instance if the pool is empty; the request for the new bean will have to wait until an existing bean is returned to the pool.
如果池是空的,WebLogic将不会创建另一个实例;对新bean的请求只能等待,直到现有的bean返回到池中。
WebSphere Application Server will create a new instance if the pool is empty (instead of making that request wait).
如果池是空的,WebSphereApplicationServer将创建新的实例(而不是让请求在那等待)。
You might group them for purposes of convenience — for instance, all the threads in a thread pool belong to group X, while those in another pool belong to group Y — or for access control.
您可能是为了方便而将线程组合,例如,一个线程池中的所有线程都属于组x,而另一个池的所有线程则属于组y,或者是为了访问控制而将线程进行组合。
You might group them for purposes of convenience -- for instance, all the threads in a thread pool belong to group X, while those in another pool belong to group Y -- or for access control.
您可能是为了方便而将线程组合,例如,一个线程池中的所有线程都属于组X,而另一个池的所有线程则属于组Y,或者是为了访问控制而将线程进行组合。
What happens, for instance, when the pool is empty?
例如在池为空时,会发生什么呢?
The connection manager looks for an instance of a connection pool in the application server.
连接管理器在应用服务器中查询连接池的实例。
For instance, mandating a four-sided fence around a pool can decrease risk of drowning.
例如,强制规定水池加装围栏可以减少溺水的危险。
An HFT might, for instance, lock in a high price by submitting a large sell order to a dark pool just as the exchange price of a share begins to fall.
例如,股票的交易所价格开始下跌时,一个高频交易者可能提交一个大卖单给资金暗池从而锁定当时的高价。
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.
如果应用已经使用JDBC 2.0连接池启用的数据库,那么,您所要做的只是为JMS配置jndi特性,以使用那个JDBC实例。
There are architectures that work around this such as forking a pool of processes each running an instance of Node.js. It is up to you as the developer to implement it.
有些架构可以解决这类问题,比如将一个池中的进程分流到每个Node.js实例上运行,但需要由开发人员去实现它。
There are architectures that work around this such as forking a pool of processes each running an instance of Node.js. It is up to you as the developer to implement it.
有些架构可以解决这类问题,比如将一个池中的进程分流到每个Node.js实例上运行,但需要由开发人员去实现它。
应用推荐