实现更加复杂,必须创建客户线程与服务线程间的协议。
More complex implementation, a protocol must be created between clients and server.
这将导致MDB使用消息侦听器服务线程池中的两个线程来处理消息。
This causes the MDB to use two threads from the message listener service thread pool to process the messages.
单体驱动的源代码由中断服务线程和平台相关的代码组成。
Source code for a monolithic driver consists of both interrupt service thread code and platform specific code.
如果服务线程因编程错误而没有处理某个异常,则会造成整个应用程序崩溃。
If a service thread does not handle an exception due to programming error, it will kill the whole application.
客户端不能接收服务线程(异步调用的服务端上的线程)中发生的系统异常。
The client cannot receive system exceptions that happen in the service thread (the thread on the service side of the asynchronous invocation).
如果在消息侦听器服务线程池中有足够的线程,则将看到四个线程并行处理消息。
If we have enough threads in the message listener service thread pool, then we will see four threads processing messages in parallel.
本文解释了最大会话属性的行为及其与消息侦听器服务线程池、连接池和会话池的关系。
This article explained the behavior of the maximum sessions property and its relationship to the message listener service thread pool, connection pool, and session pool.
这个方法也实现了一类优先级提升。提升的优先级为服务线程自身的优先级。
This method also implements a form of priority ceiling. The ceiling is the priority of the server thread itself.
这种设计的好处就是,内核的体积大大减小,用户态的服务线程提高了系统的灵活性和安全性。
The benefit of microkernel and user-level system service is the greatly reduced kernel size, together with the flexibility and security of the whole system.
因为所有的Facesbackend豆是在服务线程中运行的,所以您可以在任意时刻获取FacesContext对象。
And because all of the Faces backend bean codes run in the servlet thread, you can retrieve the FacesContext object any time.
这样允许这一个服务线程去活动代表那个客户端线程来访问在服务上的对象,或者是使对客户端自己的对象的访问生效。
This allows the server thread to act on behalf of that client to access objects on the server or validate access to the client's own objects.
因为用户线程构造器中的代码仍然在访问线程的环境下运行,所以在构造用户线程时,我们还有机会从服务线程继承场所对象。
As the code in user thread constructor still runs in the caller thread's context, we have a chance to inherit a locale object from the servlet thread when the user thread is being constructed.
如果封装的代码使用大量的堆栈空间,只需要服务线程需要分配足够的RAM,客户端线程可以通过向服务线程发送请求来节省RAM。
If the encapsulate code USES a large stack area only the server thread have to allocate enough RAM, the client threads save RAM by just requesting the service to the server.
在讨论线程服务中,连接的资源表示形式的示例可能包括根讨论主题及其属性,以及指向为该主题提供的响应的嵌入链接。
In the discussion threading service, an example of connected resource representations might include a root discussion topic and its attributes, and embed links to the responses given to that topic.
异步完成令牌支持线程池,它允许服务在等待异步响应时释放线程,并将其放回到池中。
Asynchronous completion token supported thread pooling by allowing services to release threads back into the pool while awaiting asynchronous responses.
使用社交网络服务、论坛和讨论线程与其他博主建立联系。
Use social networking services, forums and discussion threads to connect with other bloggers.
等待数量和总等待时间:调用某方法或服务时,等待线程的实例数量和总占用时间。
Number of waits and total wait time: the number of instances and total elapsed time when the thread was waiting while invoking a method or service.
最后,由于消息到达的速度太快,系统无法支持登录服务中运行的线程数量。
Finally, the system could not support the number of threads running in the logging service as a result of the rate of message arrival.
当线程返回服务响应时,在中介流中继续执行。
When the thread returns with the service response, the execution continues in the mediation flow.
稍后,客户端运行的线程从该服务请求响应。
Later, the thread on which the client is running requests a response from the service.
未来,我们打算将不同服务的线程池组合为一个单独的工作管理基础设施,用于均衡负载。
In the future, we plan to combine the thread pools from different services together into a single work-management infrastructure that can be used to balance between these different workloads.
异步——使用者通过两个线程调用服务;一个线程发送请求,而另一个单独的线程接收响应。
Asynchronous - the consumer USES a pair of threads to invoke the service; one thread sends the request, then a separate thread receives the response.
线程还是比较耗费资源的,一个服务器上可用的线程是有限制的。
Threads are relatively expensive, and a limited number of threads are available on a server.
用户线程是服务来自客户机应用程序的请求的数据库服务器线程。
A user thread is a database server thread that services requests from client applications.
同步——使用者通过单个线程调用服务;该线程发送请求,在服务运行时阻塞,并且等待响应。
Synchronous – The consumer uses a single thread to invoke the service; the thread sends the request, blocks while the service is running, and waits for the response.
结束当前线程服务的执行。
消息侦听器服务中的线程池。
启动服务的控制分派机线程。
被阻塞的应用程序服务器工作线程可能会对服务器的容量和吞吐量造成负面影响。
Blocked application server worker threads can negatively impact the server's capacity and throughput.
此外,Manager调用notify以唤醒服务委托的线程,以便能够处理到达的事件。
Moreover, the Manager calls notify to wake up the service delegate? S thread so that the arriving event can be processed.
应用推荐