Home
last modified time | relevance | path

Searched refs:corePoolSize (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java525 private volatile int corePoolSize; field in ThreadPoolExecutor
901 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()
1003 int min = allowCoreThreadTimeOut ? 0 : corePoolSize; in processWorkerExit()
1046 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; in getTask()
1181 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1186 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
1215 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1221 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
1250 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1256 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
[all …]
DScheduledThreadPoolExecutor.java424 public ScheduledThreadPoolExecutor(int corePoolSize) { in ScheduledThreadPoolExecutor() argument
425 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
441 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
443 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
459 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
461 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
480 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
483 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
DExecutors.java262 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) { in newScheduledThreadPool() argument
263 return new ScheduledThreadPoolExecutor(corePoolSize); in newScheduledThreadPool()
278 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool() argument
279 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory); in newScheduledThreadPool()
/libcore/jsr166-tests/src/test/java/jsr166/
DScheduledExecutorSubclassTest.java91 CustomExecutor(int corePoolSize) { super(corePoolSize); } in CustomExecutor() argument
92 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor() argument
93 super(corePoolSize, handler); in CustomExecutor()
96 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor() argument
97 super(corePoolSize, threadFactory); in CustomExecutor()
99 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor() argument
101 super(corePoolSize, threadFactory, handler); in CustomExecutor()
DThreadPoolExecutorSubclassTest.java160 CustomTPE(int corePoolSize, in CustomTPE() argument
165 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()
168 CustomTPE(int corePoolSize, in CustomTPE() argument
174 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
178 CustomTPE(int corePoolSize, in CustomTPE() argument
184 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
187 CustomTPE(int corePoolSize, in CustomTPE() argument
194 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()