码迷,mamicode.com
首页 > 其他好文 > 详细

ThreadFactory

时间:2017-08-18 11:18:30      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:code   read   current   return   java   style   service   tor   exec   

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadFactory {
    private static ExecutorService threadpool = Executors.newFixedThreadPool(200);
    
    public static ExecutorService getThreadpool() {
        return threadpool;
    }
}

 

ThreadFactory

标签:code   read   current   return   java   style   service   tor   exec   

原文地址:http://www.cnblogs.com/tonggc1668/p/7387807.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!