/libcore/luni/src/main/java/java/util/concurrent/ |
D | ThreadPoolExecutor.java | 504 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 …]
|
D | ScheduledThreadPoolExecutor.java | 397 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()
|
D | Executors.java | 220 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/ |
D | ScheduledExecutorSubclassTest.java | 60 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()
|
D | ThreadPoolExecutorSubclassTest.java | 128 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()
|