In contrast to the cathedral-building style of the Emacs C core and most other GNU tools, the evolution of the Lisp code pool was fluid and very user-driven.
与Emacs的C核心和其他GNU工具的大教堂模式相比,Lisp代码集则是有诸多活跃用户驱动的。
As I see, it allows to pass code wrapped in Fibers to a pool of connections, which then resumes the Fibers as connections become available.
依我看,它提供了一个连接池把传入代码包装在纤程当中,等到连接可用的时候再恢复纤程。
Listing 4 shows the code in the application module needed to lookup the created database connection pool.
清单4显示了在应用程序模块中查找创建的数据库连接池所需的代码。
The managed objects created by the provider contain similar auto-enlistment code as the JDBC wrapper added by the container-supplied connection pool manager.
提供者创建的受管对象包含与JDBC包装器(由容器提供的连接池管理器添加)相似的自动征用代码。
This code USES the private methods to retrieve an object from the pool and call the provided delegate.
该代码使用私有方法从池中检索对象,并且调用所提供的委托。
Most business programmers cannot justify the time it takes to write their own datasource and connection pool code plus implement a naming server so the JDBC SPI can be used.
大多数业务程序员都不愿意,为了使用JDBCSPI而编写他们自己的数据源和连接池代码,并实现一个命名的服务器。
First, consider the code example below of an EJB client accessing an LDAP directory that implements a connection pool.
首先,考虑以下E JB客户机代码示例,该客户机访问实现连接池的LDAP目录。
You can substitute this value with your own text string or a value from another data source, such as a data pool, reference, custom code, or another test variable.
您可以使用您自己的字符串,或者来自另一个数据源的值来替换该值,这些数据源包括数据汇,引用,通用代码,或者其他的测试变量。
Asynchronous in this case means "punt my IO operation to a built-in thread pool", with subsequent code checking on the status of those operations and getting results from a "future" handle.
在这里,异步的意义在于“把IO操作放到内置的线程池”,通过代码检查操作状态,获得“未来”句柄结果。
Recommendation: We used Rational Performance Tester's Custom Code feature to create an alternative to the data pool method that wouldn't force all data to be loaded at once.
推荐:我们使用RationalPerformance Tester的定制代码特性,为数据池方法创建另一个选择,不强制一次性加载所有数据。
Finally, the Customer Service utility showed you how this connection pool can be accessed within the code.
最后,CustomerService实用程序向您展示了如何在代码内访问此连接池。
A utility JAR that includes the specific code for the thread pool implementation.
实用工具JAR,它包括用于线程池实现的特定代码。
You also need to declare the resource reference in web.xml and look for the database pool via JNDI from the application code.
您还需要在web.xml 中声明该资源引用,并在应用程序代码中通过JNDI 查找数据库池。
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池类的一个实例多少次,它都会返回相同的对象。
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。
When editing test scripts, you must edit these elements (Figure 5) to incorporate the Rational Performance Tester data pool, custom code, reference, and other all functions that can be used.
在您编辑测试脚本时,您必须编辑这些元素(图5)以集成RationalPerformance Tester数据池、引用,而且可以使用其他所有的功能。
First, it would complicate your code because you would have to manage a pool and track the life cycle of the XHR instances.
首先,它将使代码变得复杂,因为您将不得不进行池的管理,也不得不跟踪xhr实例的生命周期。
This code retrieves an instance from the pool, avoiding the memory allocation, construction, and eventual garbage collection.
代码从池中检索到一个实例,从而避免了内存分配、构建和最终的垃圾回收。
The VOB stores a given artifact's source code, which could be either a binary or text (ASCII) file, in a data pool called a source pool.
VOB在称为source pool的数据池中存储工件的源代码,可以是一个二进制或者文本(ASCII)文件。
When the pool destruction code runs, it invokes any and all cleanup hooks it finds registered with it.
当池销毁代码运行时,它调用并且清理所有它发现的注册。
It performs some tasks, but it distributes processor-intensive work (such as compiling code or running tests) to the build agents within its pool.
它执行某些任务,但是将处理器密集型工作(例如编译代码或运行测试)分发给其池中的生成代理。
NOTE: I found that this code runs fine loaded into another site on the same server in the same Application Pool.
注:我发现这段代码运行良好,加载到另一个网站在同一个应用程序池相同的服务器。
You can't search multiple collections simultaneously without actually starting multiple searches (in a thread pool for example) and then aggregating the results within your client code.
你不能同时搜索多个集合不启动多个搜索(在一个线程池,例如),然后聚合的结果,在你的客户端代码。
Theoratical models were established according to the characteristic of sodium pool fire, and the SPOOL code was created independently.
文章论述了根据池式钠火的特点建立了理论模型,编制了SPOOL程序。
Theoratical models were established according to the characteristic of sodium pool fire, and the SPOOL code was created independently.
文章论述了根据池式钠火的特点建立了理论模型,编制了SPOOL程序。
应用推荐