Searched defs:ThreadPool (Results 1 - 2 of 2) sorted by relevance

/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orbutil/threadpool/
H A DThreadPool.java34 public interface ThreadPool extends Closeable interface in inherits:Closeable
38 * This method will return any instance of the WorkQueue. If the ThreadPool
41 * ThreadPool, then this method would return a WorkQueue based on the
51 * managed by the ThreadPool and the user of the ThreadPool wants to always use
53 * If the number of WorkQueues in the ThreadPool are 10, then queueIds will go
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DThreadPool.java37 public class ThreadPool { class
60 private ThreadPool(ExecutorService executor, method in class:ThreadPool
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(executo
[all...]

Completed in 36 milliseconds