/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadPoolExecutor.java | 554 private volatile int corePoolSize; field in ThreadPoolExecutor 930 wc >= (core ? corePoolSize : maximumPoolSize)) in addWorker() 1032 int min = allowCoreThreadTimeOut ? 0 : corePoolSize; in processWorkerExit() 1075 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; in getTask() 1210 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument 1215 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1244 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument 1250 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1279 public ThreadPoolExecutor(int corePoolSize, in ThreadPoolExecutor() argument 1285 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() [all …]
|
D | ScheduledThreadPoolExecutor.java | 453 public ScheduledThreadPoolExecutor(int corePoolSize) { in ScheduledThreadPoolExecutor() argument 454 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor() 470 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument 472 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor() 488 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument 490 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor() 509 public ScheduledThreadPoolExecutor(int corePoolSize, in ScheduledThreadPoolExecutor() argument 512 super(corePoolSize, Integer.MAX_VALUE, in ScheduledThreadPoolExecutor()
|
D | Executors.java | 291 public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize) { in newScheduledThreadPool() argument 292 return new ScheduledThreadPoolExecutor(corePoolSize); in newScheduledThreadPool() 307 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool() argument 308 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory); in newScheduledThreadPool()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ScheduledExecutorSubclassTest.java | 91 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()
|
D | ThreadPoolExecutorSubclassTest.java | 160 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()
|