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

/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutors.java214 * @param corePoolSize the number of threads to keep in the pool,
217 * @throws IllegalArgumentException if {@code corePoolSize < 0}
219 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) { argument
220 return new ScheduledThreadPoolExecutor(corePoolSize);
226 * @param corePoolSize the number of threads to keep in the pool,
231 * @throws IllegalArgumentException if {@code corePoolSize < 0}
235 int corePoolSize, ThreadFactory threadFactory) {
236 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory);
234 newScheduledThreadPool( int corePoolSize, ThreadFactory threadFactory) argument
H A DScheduledThreadPoolExecutor.java50 * {@code corePoolSize} threads and an unbounded queue, adjustments
52 * is almost never a good idea to set {@code corePoolSize} to zero or
109 * the fact that corePoolSize and maximumPoolSize are
397 * @param corePoolSize the number of threads to keep in the pool, even
399 * @throws IllegalArgumentException if {@code corePoolSize < 0}
401 public ScheduledThreadPoolExecutor(int corePoolSize) { argument
402 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS,
410 * @param corePoolSize the number of threads to keep in the pool, even
414 * @throws IllegalArgumentException if {@code corePoolSize < 0}
417 public ScheduledThreadPoolExecutor(int corePoolSize, argument
434 ScheduledThreadPoolExecutor(int corePoolSize, RejectedExecutionHandler handler) argument
454 ScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument
[all...]
H A DThreadPoolExecutor.java48 * corePoolSize (see {@link #getCorePoolSize}) and
52 * than corePoolSize threads are running, a new thread is created to
54 * there are more than corePoolSize but less than maximumPoolSize
56 * full. By setting corePoolSize and maximumPoolSize the same, you
86 * <dd>If the pool currently has more than corePoolSize threads,
108 * <li> If fewer than corePoolSize threads are running, the Executor
112 * <li> If corePoolSize or more threads are running, the Executor
139 * corePoolSize threads are busy. Thus, no more than corePoolSize
478 * Threads use this timeout when there are more than corePoolSize
496 private volatile int corePoolSize; field in class:ThreadPoolExecutor
1128 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue) argument
1162 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory) argument
1197 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, RejectedExecutionHandler handler) argument
1234 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument
1471 setCorePoolSize(int corePoolSize) argument
[all...]

Completed in 48 milliseconds