java 线程池序号一直增加问题
高洛峰
高洛峰 2017-04-18 10:46:15
0
2
910
高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
黄舟

Generally, thread pools are used as singletons.

private static final ExecutorService executors = Executors.newCachedThreadPool();

There are already two thread pool instances in your code. So it showed up pool-2.

阿神

Dear, this happened to me too, how did you solve it?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template