Each thread simulates a user that connects to the database and submits a stream of transactions without think times.
每个线程模拟一个用户,该用户连接到数据库并提交一个事务流,而不考虑次数。
Listing 3 shows an example where during startup, a background thread loads some data from a database.
清单3展示了一个示例,其中后台线程在启动阶段从数据库加载一些数据。
The single CSLD task thread processes all archive requests for the journal database.
一个CSLD任务线程处理对日志数据库的所有归档请求。
Here are some techniques for avoiding long-running actions in the UI thread, using a common example: a table or tree that is filled from some sort of database query, network call, or disk.
有一些技术用来避免UI线程中的长时间运行动作,举一个常见的例子:使用某种数据库查询、网络调用或磁盘进行填充的表或树。
Specifically, if everything is happening in a single thread, performing long operations such as network access or database queries on the UI thread will block the whole user interface.
特别是,如果把所有的事件都放在主线程中来处理,需要长时间来处理的事件比如网络访问或者数据库查询,会阻塞整个UI。
A user thread is a database server thread that services requests from client applications.
用户线程是服务来自客户机应用程序的请求的数据库服务器线程。
Specifically, if everything is happening in the UI thread, performing long operations such as network access or database queries will block the whole UI.
如果UI线程需要处理每一件事情,那些耗时很长的操作——诸如访问网络或查询数据库等——将会阻塞整个UI(线程)。
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.
调优连接池的目标是确保各线程都有一个数据库连接,并且请求不需要排队以等待访问数据库。
Since each thread performs a task, each concurrent thread needs a database connection.
由于每个线程都需要执行一个任务,因此各并发线程都需要一个数据库连接。
The last point of interest for this section is the thread block times that are rolled up to the database level.
本节最后将介绍上升到数据库级的线程阻塞时间。
Stacksize is also a very important configuration parameter that indicates the initial stack size the database server assigns to each active thread.
Stacksize也是一个极其重要的配置参数,它指示了数据库服务器为每个活动线程指派的初始堆栈的大小。
Often, the number of database connections is smaller than the number of threads available in the servlet thread pool.
通常,数据库连接的数量要小于servlet线程池中可用线程的数量。
The lookup of the database needs to happen in a scheduled NotesJob thread.
数据库的查找需要在预定的notesjob线程中进行。
None of three thread configuration options depicted in Figure 4 will help since it is always the same database on the same Domino server where mails are archived from.
图4中的三种线程配置选项都没有帮助,因为邮件总是从同一个Domino服务器上的同一个数据库中归档的。
Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas.
Sequel具有线程安全,连接池等特性,同时提供了简洁的DSL用来创建数据库查询以及表方案。
With the asynchronous processing support, a servlet no longer has to wait for a response from a resource such as a database before its thread can continue processing.
支持异步处理后,Servlet的线程就不用像以前那样了——收到来自资源的响应之后才能继续处理请求。
Use a thread to handle multiple files in bulk, this is my deal with the fingerprint image database used by the gadget.
用一个线程对多个文件进行批量处理,这是我处理指纹图像数据库时所用的小工具。
At the same time, the software deals with the real-time data by the means of memory database and USES the thread security class to maintain the data's integrity.
同时,对系统中大量实时数据则采用内存数据库管理方式,并利用线程安全类来保证读取数据的完整性。
This will also have another problem - context and any manipulation with entities in the context or a database connection used by the context is not thread safe.
这也将有另一个问题-背景和任何操作,在使用的上下文中的上下文或数据库连接实体不是线程安全的。
An example of a multithreaded application is a program that receives user input on one thread, performs a variety of complex calculations on a second thread, and updates a database on a third thread.
作为多线程应用程序的一个示例,某个程序在一个线程上接收用户输入,在另一个线程上执行多种复杂的计算,并在第三个线程上更新数据库。
There are frequent operations on database in the content router server, so non-blocking operations on database are implemented by thread pool framework.
内容路由服务器,存在频繁的数据库操作,通过线程池框架,实现数据库的非阻塞操作。
Since everything happens on a single thread performing long operations, like network access or database queries, on this thread will block the whole user interface.
一旦所有的事件都在一个线程中进行耗时的操作,比如说在这个线程上进行网络连接,数据库访问,会阻塞程序的界面响应。
Supports multiple profiles, each configured to start a service separate thread to handle the task items specified database or XML.
支持多个配置文件,每个配置单独启动一个服务线程,处理指定的数据库任务项或XML。
In the end, we introduce the function that Console should be completed. There are much key technology involved in this paper, such as multi-thread technology, plugin technology, database t...
还介绍了控制端所实现的功能,其中所涉及的关键技术有多线程技术、插件技术、数据库技术等。
In the end, we introduce the function that Console should be completed. There are much key technology involved in this paper, such as multi-thread technology, plugin technology, database t...
还介绍了控制端所实现的功能,其中所涉及的关键技术有多线程技术、插件技术、数据库技术等。
应用推荐