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.java505 private volatile int corePoolSize; field in ThreadPoolExecutor
880 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker()
982 int min = allowCoreThreadTimeOut ? 0 : corePoolSize; in processWorkerExit()
1025 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; in getTask()
1160 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1165 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
1194 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1200 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
1229 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument
1235 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor()
[all …]
DScheduledThreadPoolExecutor.java399 public ScheduledThreadPoolExecutor(int corePoolSize) { in ScheduledThreadPoolExecutor() argument
400 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS, in ScheduledThreadPoolExecutor()
415 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
417 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS, in ScheduledThreadPoolExecutor()
432 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
434 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS, in ScheduledThreadPoolExecutor()
452 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument
455 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS, in ScheduledThreadPoolExecutor()
DExecutors.java257 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) { in newScheduledThreadPool() argument
258 return new ScheduledThreadPoolExecutor(corePoolSize); in newScheduledThreadPool()
273 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool() argument
274 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory); in newScheduledThreadPool()
/libcore/jsr166-tests/src/test/java/jsr166/
DScheduledExecutorSubclassTest.java56 CustomExecutor(int corePoolSize) { super(corePoolSize); } in CustomExecutor() argument
57 CustomExecutor(int corePoolSize, RejectedExecutionHandler handler) { in CustomExecutor() argument
58 super(corePoolSize, handler); in CustomExecutor()
61 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor() argument
62 super(corePoolSize, threadFactory); in CustomExecutor()
64 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor() argument
66 super(corePoolSize, threadFactory, handler); in CustomExecutor()
DThreadPoolExecutorSubclassTest.java122 CustomTPE(int corePoolSize, in CustomTPE() argument
127 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()
130 CustomTPE(int corePoolSize, in CustomTPE() argument
136 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
140 CustomTPE(int corePoolSize, in CustomTPE() argument
146 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in CustomTPE()
149 CustomTPE(int corePoolSize, in CustomTPE() argument
156 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, in CustomTPE()