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.java504 private volatile int corePoolSize; field in ThreadPoolExecutor
880 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()
964 int min = allowCoreThreadTimeOut ? 0 : corePoolSize; in processWorkerExit()
1008 timed = allowCoreThreadTimeOut || wc > corePoolSize; in getTask()
1136 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1141 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
1170 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1176 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
1205 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1211 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
[all …]
DScheduledThreadPoolExecutor.java397 public ScheduledThreadPoolExecutor(int corePoolSize) { in ScheduledThreadPoolExecutor() argument
398 super(corePoolSize, Integer.MAX_VALUE, 0, TimeUnit.NANOSECONDS, in ScheduledThreadPoolExecutor()
413 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
415 super(corePoolSize, Integer.MAX_VALUE, 0, TimeUnit.NANOSECONDS, in ScheduledThreadPoolExecutor()
430 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
432 super(corePoolSize, Integer.MAX_VALUE, 0, TimeUnit.NANOSECONDS, in ScheduledThreadPoolExecutor()
450 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
453 super(corePoolSize, Integer.MAX_VALUE, 0, TimeUnit.NANOSECONDS, in ScheduledThreadPoolExecutor()
DExecutors.java220 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) { in newScheduledThreadPool() argument
221 return new ScheduledThreadPoolExecutor(corePoolSize); in newScheduledThreadPool()
236 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool() argument
237 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory); in newScheduledThreadPool()
/libcore/luni/src/test/java/tests/api/java/util/concurrent/
DScheduledExecutorSubclassTest.java60 CustomExecutor(int corePoolSize) { super(corePoolSize);} in CustomExecutor() argument
61 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor() argument
62 super(corePoolSize, handler); in CustomExecutor()
65 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor() argument
66 super(corePoolSize, threadFactory); in CustomExecutor()
68 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor() argument
70 super(corePoolSize, threadFactory, handler); in CustomExecutor()
DThreadPoolExecutorSubclassTest.java128 CustomTPE(int corePoolSize, in CustomTPE() argument
133 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()
136 CustomTPE(int corePoolSize, in CustomTPE() argument
142 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
146 CustomTPE(int corePoolSize, in CustomTPE() argument
152 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
155 CustomTPE(int corePoolSize, in CustomTPE() argument
162 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()