Once created, the Timer will invoke the specified callback on a thread from the ThreadPool at a configurable interval.
创建之后,这个timer类将以一个可配置的间隔针对ThreadPool中的某个线程调用指定的回调。
I actually need to allow a total of three threads in the ThreadPool: the Jetty server itself USES one, and another runs an HTTP connector, listening for incoming requests.
我实际上需要在ThreadPool使用三个线程:Jetty服务器本身使用一个线程,另一线程运行HTTP连接器,侦听到来的请求。
A straightforward way to do this would be to create a new class PriorityThreadPool (ThreadPool) that returned more important threads more often during the thread iteration.
我们可以用一种直接的方式实现它,就是创建一个新类PriorityThreadPool (ThreadPool),这个类在线程迭代期间更频繁地返回更重要的线程。
With Domino 7, we take advantage of the sys-epoll feature in the new kernels (for example, SuSE SLES 8 and SLES 9), which allow Domino to use the same threadpool model as other platforms.
在Domino7 中,我们利用了新内核的 sys-epoll特性(例如SuSESLES8和 SLES9),这可以允许 Domino使用与其他平台上类似的线程池模型。
With Domino 7, we take advantage of the sys-epoll feature in the new kernels (for example, SuSE SLES 8 and SLES 9), which allow Domino to use the same threadpool model as other platforms.
在Domino7 中,我们利用了新内核的 sys-epoll特性(例如SuSESLES8和 SLES9),这可以允许 Domino使用与其他平台上类似的线程池模型。
应用推荐