The Runnable is run on the J2EE worker thread.
可运行线程在J2EE工作线程上运行。
When complete, the J2EE worker thread remains active.
当完成时,J2EE工作线程仍保持活动状态。
A worker thread pulls the next WWEC from the input queue and runs it.
工作线程从输入队列提取一个WWEC,并运行它。
The worker thread now waits for more work to appear on the input queue.
工作线程现在等待更多工作出现在输入队列上。
Work requests queued and waited for a worker thread to become available.
工作请求进入队列,等待工作线程。
This method does not propagate the calling stack to the worker thread.
此方法不将调用堆栈传播到辅助线程。
The J2EE worker thread now waits for more work to appear on the input queue.
J2EE工作线程现在等待更多工作出现在输入队列上。
A thread pool worker thread pulls the next WWEC from the input queue and runs it.
线程池工作线程从输入队列提取下一个WWEC,并运行它。
Each service invocation to the banking device blocks a worker thread within the server.
对银行设备的每次服务调用都会阻塞服务器内的工作线程。
Count of threads in worker thread pool. These threads answer requests from clients.
工作线程池中线程的计数。这些线程回应客户端的请求。
Throughput - 5.5 times higher for the UI thread and 870 times higher for the worker thread.
对于UI线程来说提升了5.5倍,对于worker线程来说提升了870倍。
As previously stated, a single worker thread can't process multiple transactions in parallel.
正如前面提到的,单个工作线程无法并行处理多个事务。
Timeouts can serve as a constraint and control the amount of time the worker thread is blocked.
可以使用超时来约束和控制阻塞工作线程的时间量。
When a connection arrived, the accept thread would simply spin off a worker thread for processing.
当连接到达时,接受线程只是衍生一个辅助线程来进行处理。
Without the communications between main thread and worker thread, CPU would be locked for a long time.
若没有主线程与辅助线程的通信,CPU将被阻塞很长一段时间。
For information about communicating from the worker thread to the caller, see Multithreading: Programming Tips.
有关从辅助线程到调用方进行通信的信息,请参见多线程处理:编程提示。
A worker thread pool, to make web applications more responsive by performing expensive operations in the background.
“工作者线程池”,通过在后台执行费时的操作使应用程序响应更加迅速。
This will allow the worker thread to access the Web service, thus all three Web services are called concurrently.
这将使此worker线程得以访问Web服务,进而,就可以并发调用这三个 Web服务。
If a worker thread must be blocked, you need to ensure that the thread is blocked for only a reasonable amount of time.
如果阻塞工作线程,则需要确保仅在合理的时间内阻塞线程。
Gets or sets a value that indicates whether to perform object creation in a worker thread or in the active context.
获取或设置一个值,该值指示是在辅助线程还是在活动上下文中执行对象创建。
A snapshot is taken of the current J2EE application context on the worker thread to restore later after the work completes.
获取工作线程上当前J2EE应用程序上下文的快照,以便在工作完成之后进行恢复。
So, you must not manipulate your UI from a worker thread-you must do all manipulation to your user interface from the UI thread.
因此不允许从工作线程中操作ui——只能从UI线程中操作用户界面。
In response to events from the server this worker thread creates some fairly simple COM objects, and then passes these objects to a COM event.
响应来自服务器的事件,这个工作线程创建一些相当简单的COM对象,然后将这些对象传递给一个COM事件。
When the call to the servlet returns, the worker thread checks to see if another request is available from the same client before returning to the pool.
当对servlet 的调用返回时,工作线程在返回到池中之前,会检查是否有来自相同客户机的另一个请求可用。
When using custom component-scoped thread pools (Figure 3), each worker thread in the pool is initialized with a daemon thread created by the WorkManager.
在使用自定义组件范围的线程池(图3)时,将使用WorkManager创建的守护程序线程初始化池中的每个工作线程。
The J2EE context of the J2EE component that creates the ThreadFactory will be preserved and reapplied to the thread prior to starting a new worker thread.
创建ThreadFactory的J2EE组件的 J2EE上下文将被保留,并在启动新的工作线程之前重新应用到线程。
A single worker thread might be able to push one logic CPU to 100% utilization in the LPAR, so the total thread number is set to number of the CPUs minus 1.
单个工作线程也许就能迫使LPAR中的一个逻辑CPU达到100%的利用率,因此将总线程数量设置为CPU数量减1。
Keep in mind that the timer callback function is executed on a worker thread, so you'll want to ensure that you have thread-safe access to the state object.
记住定时回调功能是在一个工作者线程上执行的,所以你必须确保访问state对象的线程安全。
No new work can be processed until a worker thread has completed its transaction and is free to begin executing the next one (Figure 3 depicts this scenario).
在工作线程完成其事务并释放以执行下一个事务前,无法处理任何新工作(图3给出了此场景的图释)。
No new work can be processed until a worker thread has completed its transaction and is free to begin executing the next one (Figure 3 depicts this scenario).
在工作线程完成其事务并释放以执行下一个事务前,无法处理任何新工作(图3给出了此场景的图释)。
应用推荐