Searched refs:ThreadPool (Results 1 - 25 of 25) sorted by relevance

/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orbutil/threadpool/
H A DThreadPoolChooser.java32 * This method is used to return an instance of ThreadPool based on the
38 public ThreadPool getThreadPool();
41 * This method is used to return an instance of ThreadPool that is obtained
46 public ThreadPool getThreadPool(int id);
H A DWorkQueue.java58 * Set the ThreadPool instance servicing this WorkQueue
60 public void setThreadPool(ThreadPool aThreadPool);
63 * Get the ThreadPool instance servicing this WorkQueue
65 public ThreadPool getThreadPool();
H A DThreadPoolManager.java39 public ThreadPool getThreadPool(String threadpoolId) throws NoSuchThreadPoolException;
49 public ThreadPool getThreadPool(int numericIdForThreadpool) throws NoSuchThreadPoolException;
66 * Returns the first instance of ThreadPool in the ThreadPoolManager
68 public ThreadPool getDefaultThreadPool();
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...]
H A DAsynchronousChannelGroupImpl.java55 private final ThreadPool pool;
73 ThreadPool pool)
87 Executors.newScheduledThreadPool(1, ThreadPool.defaultThreadFactory());
123 ThreadPool.defaultThreadFactory().newThread(task).start();
H A DSimpleAsynchronousFileChannelImpl.java47 ThreadPool.createDefault().executor();
68 ThreadPool pool)
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsAsynchronousChannelProvider.java48 defaultIocp = new Iocp(this, ThreadPool.getDefault()).start();
59 return new Iocp(this, ThreadPool.create(nThreads, factory)).start();
66 return new Iocp(this, ThreadPool.wrap(executor, initialSize)).start();
H A DIocp.java68 Iocp(AsynchronousChannelProvider provider, ThreadPool pool)
H A DWindowsAsynchronousFileChannelImpl.java56 return new Iocp(null, ThreadPool.createDefault()).start();
101 ThreadPool pool)
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DBsdAsynchronousChannelProvider.java43 defaultPort = new KQueuePort(this, ThreadPool.getDefault()).start();
57 return new KQueuePort(this, ThreadPool.create(nThreads, factory)).start();
64 return new KQueuePort(this, ThreadPool.wrap(executor, initialSize)).start();
H A DLinuxAsynchronousChannelProvider.java43 defaultPort = new EPollPort(this, ThreadPool.getDefault()).start();
57 return new EPollPort(this, ThreadPool.create(nThreads, factory)).start();
64 return new EPollPort(this, ThreadPool.wrap(executor, initialSize)).start();
H A DSolarisAsynchronousChannelProvider.java44 new SolarisEventPort(this, ThreadPool.getDefault()).start();
58 return new SolarisEventPort(this, ThreadPool.create(nThreads, factory)).start();
65 return new SolarisEventPort(this, ThreadPool.wrap(executor, initialSize)).start();
H A DPort.java61 Port(AsynchronousChannelProvider provider, ThreadPool pool) {
H A DSolarisEventPort.java72 SolarisEventPort(AsynchronousChannelProvider provider, ThreadPool pool)
H A DEPollPort.java83 EPollPort(AsynchronousChannelProvider provider, ThreadPool pool)
H A DKQueuePort.java80 KQueuePort(AsynchronousChannelProvider provider, ThreadPool pool)
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/
H A DWorkQueueImpl.java30 import com.sun.corba.se.spi.orbutil.threadpool.ThreadPool;
44 private ThreadPool workerThreadPool;
64 public WorkQueueImpl(ThreadPool workerThreadPool) {
68 public WorkQueueImpl(ThreadPool workerThreadPool, String name) {
164 public void setThreadPool(ThreadPool workerThreadPool) {
168 public ThreadPool getThreadPool() {
H A DThreadPoolManagerImpl.java38 import com.sun.corba.se.spi.orbutil.threadpool.ThreadPool;
52 private ThreadPool threadPool;
150 public ThreadPool getThreadPool(String threadpoolId)
164 public ThreadPool getThreadPool(int numericIdForThreadpool)
189 * Returns the first instance of ThreadPool in the ThreadPoolManager
191 public ThreadPool getDefaultThreadPool() {
H A DThreadPoolImpl.java41 import com.sun.corba.se.spi.orbutil.threadpool.ThreadPool;
58 public class ThreadPoolImpl implements ThreadPool
67 // or accessed this ThreadPool's WorkQueue must be locked. And, it is
68 // expected that this ThreadPool's WorkQueue is the only object that
70 // call to a method in this ThreadPool. If any call to update or access
71 // those values must synchronized on this ThreadPool's WorkQueue.
101 // Name of the ThreadPool
104 // MonitoredObject for ThreadPool
292 // some threads in the ThreadPool randomly get
308 // This is bad in a ThreadPool, becaus
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsChannelFactory.java37 import sun.nio.ch.ThreadPool;
177 ThreadPool pool)
H A DWindowsFileSystemProvider.java37 import sun.nio.ch.ThreadPool;
135 ThreadPool pool = (executor == null) ? null : ThreadPool.wrap(executor, 0);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixChannelFactory.java34 import sun.nio.ch.ThreadPool;
158 ThreadPool pool)
H A DUnixFileSystemProvider.java39 import sun.nio.ch.ThreadPool;
191 ThreadPool pool = (executor == null) ? null : ThreadPool.wrap(executor, 0);
/openjdk7/jdk/make/java/nio/
H A DFILES_java.gmk214 sun/nio/ch/ThreadPool.java \

Completed in 135 milliseconds