Websphere中这些线程池有什么区别?

Ray*_*Ray 3 java websphere multithreading threadpool websphere-6.1

在WebSphere Application Server中,我看到了两个可以操作的线程池.有一个名为"默认",另一个名为"WebContainer",每个都有最小和最大大小.

这些线程池用于什么?在我的应用程序中,我使用Java的ExecutorService来推动单独的线程 - 我将从哪些池中提取?

Bre*_*ail 6

"默认"线程池实际上仅在服务器启动期间使用."WebContainer"线程池用于入站HTTP请求.

WebSphere Application Server线程池没有与ExecutorService集成,因此您不会使用任何这些.你使用哪个ExecutorService?如果您正在使用Executors中的一个,那么它将创建自己的线程.