Searched defs:threadFactory (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Executors.java | 158 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { in newFixedThreadPool() 199 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { in newSingleThreadExecutor() 238 public static ExecutorService newCachedThreadPool(ThreadFactory threadFactory) { in newCachedThreadPool() 279 …lic static ScheduledExecutorService newSingleThreadScheduledExecutor(ThreadFactory threadFactory) { in newSingleThreadScheduledExecutor() 308 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool()
|
D | ThreadPoolExecutor.java | 532 private volatile ThreadFactory threadFactory; field in ThreadPoolExecutor 1254 ThreadFactory threadFactory) { in ThreadPoolExecutor() 1326 ThreadFactory threadFactory, in ThreadPoolExecutor() 1509 public void setThreadFactory(ThreadFactory threadFactory) { in setThreadFactory()
|
D | ScheduledThreadPoolExecutor.java | 471 ThreadFactory threadFactory) { in ScheduledThreadPoolExecutor() 510 ThreadFactory threadFactory, in ScheduledThreadPoolExecutor()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | Executors.java | 60 int nThreads, java.util.concurrent.ThreadFactory threadFactory) { in newFixedThreadPool() 69 java.util.concurrent.ThreadFactory threadFactory) { in newSingleThreadExecutor() 78 java.util.concurrent.ThreadFactory threadFactory) { in newCachedThreadPool() 87 java.util.concurrent.ThreadFactory threadFactory) { in newSingleThreadScheduledExecutor() 97 int corePoolSize, java.util.concurrent.ThreadFactory threadFactory) { in newScheduledThreadPool()
|
D | ThreadPoolExecutor.java | 58 java.util.concurrent.ThreadFactory threadFactory) { in ThreadPoolExecutor() 78 java.util.concurrent.ThreadFactory threadFactory, in ThreadPoolExecutor() 213 public void setThreadFactory(java.util.concurrent.ThreadFactory threadFactory) { in setThreadFactory() 385 private volatile java.util.concurrent.ThreadFactory threadFactory; field in ThreadPoolExecutor
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousChannelGroup.java | 182 ThreadFactory threadFactory) in withFixedThreadPool()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ThreadPool.java | 117 ThreadFactory threadFactory = getDefaultThreadPoolThreadFactory(); in createDefault() local
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ScheduledExecutorSubclassTest.java | 96 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor() 99 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor() 538 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local 549 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
|
D | ThreadPoolExecutorSubclassTest.java | 173 ThreadFactory threadFactory) { in CustomTPE() 192 ThreadFactory threadFactory, in CustomTPE() 387 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local 408 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
|
D | ScheduledExecutorTest.java | 482 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local 494 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
|
D | ThreadPoolExecutorTest.java | 240 ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local 261 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
|