Searched refs:threadFactory (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Executors.java | 123 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { in newFixedThreadPool() argument 127 threadFactory); in newFixedThreadPool() 164 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { in newSingleThreadExecutor() argument 169 threadFactory)); in newSingleThreadExecutor() 203 public static ExecutorService newCachedThreadPool(ThreadFactory threadFactory) { in newCachedThreadPool() argument 207 threadFactory); in newCachedThreadPool() 244 …lic static ScheduledExecutorService newSingleThreadScheduledExecutor(ThreadFactory threadFactory) { in newSingleThreadScheduledExecutor() argument 246 (new ScheduledThreadPoolExecutor(1, threadFactory)); in newSingleThreadScheduledExecutor() 273 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool() argument 274 return new ScheduledThreadPoolExecutor(corePoolSize, threadFactory); in newScheduledThreadPool()
|
D | ThreadPoolExecutor.java | 478 private volatile ThreadFactory threadFactory; field in ThreadPoolExecutor 1199 ThreadFactory threadFactory) { in ThreadPoolExecutor() argument 1201 threadFactory, defaultHandler); in ThreadPoolExecutor() 1271 ThreadFactory threadFactory, in ThreadPoolExecutor() argument 1278 if (workQueue == null || threadFactory == null || handler == null) in ThreadPoolExecutor() 1284 this.threadFactory = threadFactory; in ThreadPoolExecutor() 1453 public void setThreadFactory(ThreadFactory threadFactory) { in setThreadFactory() argument 1454 if (threadFactory == null) in setThreadFactory() 1456 this.threadFactory = threadFactory; in setThreadFactory() 1466 return threadFactory; in getThreadFactory()
|
D | ScheduledThreadPoolExecutor.java | 416 ThreadFactory threadFactory) { in ScheduledThreadPoolExecutor() argument 418 new DelayedWorkQueue(), threadFactory); in ScheduledThreadPoolExecutor() 453 ThreadFactory threadFactory, in ScheduledThreadPoolExecutor() argument 456 new DelayedWorkQueue(), threadFactory, handler); in ScheduledThreadPoolExecutor()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ScheduledExecutorSubclassTest.java | 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()
|
D | ThreadPoolExecutorSubclassTest.java | 135 ThreadFactory threadFactory) { in CustomTPE() argument 137 threadFactory); in CustomTPE() 154 ThreadFactory threadFactory, in CustomTPE() argument 157 workQueue, threadFactory, handler); in CustomTPE()
|