Home | History | Annotate | Download | only in ch

Lines Matching refs:ThreadPool

37 public class ThreadPool {
60 private ThreadPool(ExecutorService executor,
86 final static ThreadPool defaultThreadPool = createDefault();
90 static ThreadPool getDefault() {
95 static ThreadPool createDefault() {
110 return new ThreadPool(executor, false, initialSize);
114 static ThreadPool create(int nThreads, ThreadFactory factory) {
118 return new ThreadPool(executor, true, nThreads);
122 public static ThreadPool wrap(ExecutorService executor, int initialSize) {
141 return new ThreadPool(executor, false, initialSize);