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

1 2

  /external/jetty/src/java/org/eclipse/jetty/util/thread/
ExecutorThreadPool.java 83 * @param corePoolSize must be equal to maximumPoolSize
87 public ExecutorThreadPool(int corePoolSize, int maximumPoolSize, long keepAliveTime)
89 this(corePoolSize, maximumPoolSize, keepAliveTime, TimeUnit.MILLISECONDS);
96 * @param corePoolSize must be equal to maximumPoolSize
101 public ExecutorThreadPool(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit)
103 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, new LinkedBlockingQueue<Runnable>());
110 * @param corePoolSize the number of threads to keep in the pool, even if they are idle
116 public ExecutorThreadPool(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue)
118 this(new ThreadPoolExecutor(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue));
  /libcore/luni/src/main/java/java/util/concurrent/
ThreadPoolExecutor.java 56 * corePoolSize (see {@link #getCorePoolSize}) and
60 * and fewer than corePoolSize threads are running, a new thread is
62 * idle. If there are more than corePoolSize but less than
64 * if the queue is full. By setting corePoolSize and maximumPoolSize
103 * If the pool currently has more than corePoolSize threads,
113 * applies only when there are more than corePoolSize threads, but
126 * <li>If fewer than corePoolSize threads are running, the Executor
130 * <li>If corePoolSize or more threads are running, the Executor
157 * corePoolSize threads are busy. Thus, no more than corePoolSize
    [all...]
ScheduledThreadPoolExecutor.java 57 * {@code corePoolSize} threads and an unbounded queue, adjustments
59 * is almost never a good idea to set {@code corePoolSize} to zero or
115 * the fact that corePoolSize and maximumPoolSize are
404 * core threads, but if a user creates a pool with a corePoolSize
420 * @param corePoolSize the number of threads to keep in the pool, even
422 * @throws IllegalArgumentException if {@code corePoolSize < 0}
424 public ScheduledThreadPoolExecutor(int corePoolSize) {
425 super(corePoolSize, Integer.MAX_VALUE,
434 * @param corePoolSize the number of threads to keep in the pool, even
438 * @throws IllegalArgumentException if {@code corePoolSize < 0
    [all...]
Executors.java 257 * @param corePoolSize the number of threads to keep in the pool,
260 * @throws IllegalArgumentException if {@code corePoolSize < 0}
262 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) {
263 return new ScheduledThreadPoolExecutor(corePoolSize);
269 * @param corePoolSize the number of threads to keep in the pool,
274 * @throws IllegalArgumentException if {@code corePoolSize < 0}
278 int corePoolSize, ThreadFactory threadFactory) {
279 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory);
  /external/testng/src/main/java/org/testng/internal/thread/graph/
GraphThreadPoolExecutor.java 34 public GraphThreadPoolExecutor(DynamicGraph<T> graph, IThreadWorkerFactory<T> factory, int corePoolSize,
36 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue
38 ppp("Initializing executor with " + corePoolSize + " threads and following graph " + graph);
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/
FifoPriorityThreadPoolExecutor.java 30 public FifoPriorityThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAlive, TimeUnit timeUnit,
32 super(corePoolSize, maximumPoolSize, keepAlive, timeUnit, new PriorityBlockingQueue<Runnable>(), threadFactory);
  /libcore/jsr166-tests/src/test/java/jsr166/
ScheduledExecutorSubclassTest.java 91 CustomExecutor(int corePoolSize) { super(corePoolSize); }
92 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) {
93 super(corePoolSize, handler);
96 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) {
97 super(corePoolSize, threadFactory);
99 CustomExecutor(int corePoolSize, ThreadFactory threadFactory,
101 super(corePoolSize, threadFactory, handler);
    [all...]
ThreadPoolExecutorSubclassTest.java 160 CustomTPE(int corePoolSize,
165 super(corePoolSize, maximumPoolSize, keepAliveTime, unit,
168 CustomTPE(int corePoolSize,
174 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue,
178 CustomTPE(int corePoolSize,
184 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue,
187 CustomTPE(int corePoolSize,
194 super(corePoolSize, maximumPoolSize, keepAliveTime, unit,
276 * prestartCoreThread starts a thread if under corePoolSize, else doesn't
302 * prestartAllCoreThreads starts all corePoolSize thread
    [all...]
  /prebuilts/tools/common/m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/
backport-util-concurrent-3.1.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/jetty/jetty-util/8.1.14.v20131031/
jetty-util-8.1.14.v20131031.jar 
  /prebuilts/misc/common/android-support-test/runner/
runner-0.5-release-no-dep.jar 
runner-0.5-release.jar 
  /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/22/
android.jar 
  /prebuilts/sdk/23/
android.jar 
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/system_23/
android.jar 

Completed in 173 milliseconds

1 2