OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:corePoolSize
(Results
1 - 23
of
23
) sorted by null
/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
51
*
corePoolSize
(see {@link #getCorePoolSize}) and
55
* and fewer than
corePoolSize
threads are running, a new thread is
57
* idle. If there are more than
corePoolSize
but less than
59
* if the queue is full. By setting
corePoolSize
and maximumPoolSize
90
* <dd>If the pool currently has more than
corePoolSize
threads,
100
* applies only when there are more than
corePoolSize
threads. But
112
* <li> If fewer than
corePoolSize
threads are running, the Executor
116
* <li> If
corePoolSize
or more threads are running, the Executor
143
*
corePoolSize
threads are busy. Thus, no more than
corePoolSize
[
all
...]
ScheduledThreadPoolExecutor.java
51
* {@code
corePoolSize
} threads and an unbounded queue, adjustments
53
* is almost never a good idea to set {@code
corePoolSize
} to zero or
110
* the fact that
corePoolSize
and maximumPoolSize are
399
* core threads, but if a user creates a pool with a
corePoolSize
415
* @param
corePoolSize
the number of threads to keep in the pool, even
417
* @throws IllegalArgumentException if {@code
corePoolSize
< 0}
419
public ScheduledThreadPoolExecutor(int
corePoolSize
) {
420
super(
corePoolSize
, Integer.MAX_VALUE,
429
* @param
corePoolSize
the number of threads to keep in the pool, even
433
* @throws IllegalArgumentException if {@code
corePoolSize
< 0
[
all
...]
Executors.java
253
* @param
corePoolSize
the number of threads to keep in the pool,
256
* @throws IllegalArgumentException if {@code
corePoolSize
< 0}
258
public static ScheduledExecutorService newScheduledThreadPool(int
corePoolSize
) {
259
return new ScheduledThreadPoolExecutor(
corePoolSize
);
265
* @param
corePoolSize
the number of threads to keep in the pool,
270
* @throws IllegalArgumentException if {@code
corePoolSize
< 0}
274
int
corePoolSize
, ThreadFactory threadFactory) {
275
return new ScheduledThreadPoolExecutor(
corePoolSize
, threadFactory);
/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
85
CustomExecutor(int
corePoolSize
) { super(
corePoolSize
); }
86
CustomExecutor(int
corePoolSize
, RejectedExecutionHandler handler) {
87
super(
corePoolSize
, handler);
90
CustomExecutor(int
corePoolSize
, ThreadFactory threadFactory) {
91
super(
corePoolSize
, threadFactory);
93
CustomExecutor(int
corePoolSize
, ThreadFactory threadFactory,
95
super(
corePoolSize
, threadFactory, handler);
[
all
...]
ThreadPoolExecutorSubclassTest.java
152
CustomTPE(int
corePoolSize
,
157
super(
corePoolSize
, maximumPoolSize, keepAliveTime, unit,
160
CustomTPE(int
corePoolSize
,
166
super(
corePoolSize
, maximumPoolSize, keepAliveTime, unit, workQueue,
170
CustomTPE(int
corePoolSize
,
176
super(
corePoolSize
, maximumPoolSize, keepAliveTime, unit, workQueue,
179
CustomTPE(int
corePoolSize
,
186
super(
corePoolSize
, maximumPoolSize, keepAliveTime, unit,
275
* prestartCoreThread starts a thread if under
corePoolSize
, else doesn't
290
* prestartAllCoreThreads starts all
corePoolSize
thread
[
all
...]
/prebuilts/tools/common/m2/repository/org/eclipse/jetty/jetty-util/8.1.14.v20131031/
jetty-util-8.1.14.v20131031.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/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/misc/common/android-support-test/
android-support-test.jar
/prebuilts/tools/common/api-versions/android-1/
android.jar
/prebuilts/tools/common/api-versions/android-2/
android.jar
Completed in 2280 milliseconds