Searched defs:corePoolSize (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DExecutors.java242 * @param corePoolSize the number of threads to keep in the pool,
245 * @throws IllegalArgumentException if {@code corePoolSize < 0}
247 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) { argument
248 return new ScheduledThreadPoolExecutor(corePoolSize);
254 * @param corePoolSize the number of threads to keep in the pool,
259 * @throws IllegalArgumentException if {@code corePoolSize < 0}
263 int corePoolSize, ThreadFactory threadFactory) {
264 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory);
262 newScheduledThreadPool( int corePoolSize, ThreadFactory threadFactory) argument
H A DScheduledThreadPoolExecutor.java75 * {@code corePoolSize} threads and an unbounded queue, adjustments
77 * is almost never a good idea to set {@code corePoolSize} to zero or
134 * the fact that corePoolSize and maximumPoolSize are
422 * @param corePoolSize the number of threads to keep in the pool, even
424 * @throws IllegalArgumentException if {@code corePoolSize < 0}
426 public ScheduledThreadPoolExecutor(int corePoolSize) { argument
427 super(corePoolSize, Integer.MAX_VALUE, 0, TimeUnit.NANOSECONDS,
435 * @param corePoolSize the number of threads to keep in the pool, even
439 * @throws IllegalArgumentException if {@code corePoolSize < 0}
442 public ScheduledThreadPoolExecutor(int corePoolSize, argument
459 ScheduledThreadPoolExecutor(int corePoolSize, RejectedExecutionHandler handler) argument
479 ScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument
[all...]
H A DThreadPoolExecutor.java75 * corePoolSize (see {@link #getCorePoolSize}) and
79 * than corePoolSize threads are running, a new thread is created to
81 * there are more than corePoolSize but less than maximumPoolSize
83 * full. By setting corePoolSize and maximumPoolSize the same, you
118 * <dd>If the pool currently has more than corePoolSize threads,
140 * <li> If fewer than corePoolSize threads are running, the Executor
144 * <li> If corePoolSize or more threads are running, the Executor
171 * corePoolSize threads are busy. Thus, no more than corePoolSize
515 * Threads use this timeout when there are more than corePoolSize
533 private volatile int corePoolSize; field in class:ThreadPoolExecutor
1193 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue) argument
1227 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory) argument
1262 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, RejectedExecutionHandler handler) argument
1299 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument
1540 setCorePoolSize(int corePoolSize) argument
[all...]

Completed in 37 milliseconds