HomeSort by relevance Sort by last modified time
    Searched refs:corePoolSize (Results 1 - 19 of 19) sorted by null

  /libcore/luni/src/main/java/java/util/concurrent/
ThreadPoolExecutor.java 50 * corePoolSize (see {@link #getCorePoolSize}) and
54 * and fewer than corePoolSize threads are running, a new thread is
56 * idle. If there are more than corePoolSize but less than
58 * if the queue is full. By setting corePoolSize and maximumPoolSize
89 * <dd>If the pool currently has more than corePoolSize threads,
99 * applies only when there are more than corePoolSize threads. But
111 * <li> If fewer than corePoolSize threads are running, the Executor
115 * <li> If corePoolSize or more threads are running, the Executor
142 * corePoolSize threads are busy. Thus, no more than corePoolSize
    [all...]
ScheduledThreadPoolExecutor.java 49 * {@code corePoolSize} threads and an unbounded queue, adjustments
51 * is almost never a good idea to set {@code corePoolSize} to zero or
108 * the fact that corePoolSize and maximumPoolSize are
395 * @param corePoolSize the number of threads to keep in the pool, even
397 * @throws IllegalArgumentException if {@code corePoolSize < 0}
399 public ScheduledThreadPoolExecutor(int corePoolSize) {
400 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS,
408 * @param corePoolSize the number of threads to keep in the pool, even
412 * @throws IllegalArgumentException if {@code corePoolSize < 0}
415 public ScheduledThreadPoolExecutor(int corePoolSize,
    [all...]
Executors.java 252 * @param corePoolSize the number of threads to keep in the pool,
255 * @throws IllegalArgumentException if {@code corePoolSize < 0}
257 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) {
258 return new ScheduledThreadPoolExecutor(corePoolSize);
264 * @param corePoolSize the number of threads to keep in the pool,
269 * @throws IllegalArgumentException if {@code corePoolSize < 0}
273 int corePoolSize, ThreadFactory threadFactory) {
274 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory);
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/
FifoPriorityThreadPoolExecutor.java 28 public FifoPriorityThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAlive, TimeUnit timeUnit,
30 super(corePoolSize, maximumPoolSize, keepAlive, timeUnit, new PriorityBlockingQueue<Runnable>(), threadFactory);
  /libcore/jsr166-tests/src/test/java/jsr166/
ScheduledExecutorSubclassTest.java 56 CustomExecutor(int corePoolSize) { super(corePoolSize); }
57 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) {
58 super(corePoolSize, handler);
61 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) {
62 super(corePoolSize, threadFactory);
64 CustomExecutor(int corePoolSize, ThreadFactory threadFactory,
66 super(corePoolSize, threadFactory, handler);
    [all...]
ThreadPoolExecutorSubclassTest.java 122 CustomTPE(int corePoolSize,
127 super(corePoolSize, maximumPoolSize, keepAliveTime, unit,
130 CustomTPE(int corePoolSize,
136 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue,
140 CustomTPE(int corePoolSize,
146 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue,
149 CustomTPE(int corePoolSize,
156 super(corePoolSize, maximumPoolSize, keepAliveTime, unit,
245 * prestartCoreThread starts a thread if under corePoolSize, else doesn't
260 * prestartAllCoreThreads starts all corePoolSize thread
    [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/20/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 
  /prebuilts/tools/common/api-versions/android-1/
android.jar 
  /prebuilts/tools/common/api-versions/android-2/
android.jar 

Completed in 109 milliseconds