Home
last modified time | relevance | path

Searched defs:threadFactory (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java158 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()
DThreadPoolExecutor.java532 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()
DScheduledThreadPoolExecutor.java471 ThreadFactory threadFactory) { in ScheduledThreadPoolExecutor()
510 ThreadFactory threadFactory, in ScheduledThreadPoolExecutor()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java60 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()
DThreadPoolExecutor.java58 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/
DAsynchronousChannelGroup.java182 ThreadFactory threadFactory) in withFixedThreadPool()
/libcore/ojluni/src/main/java/sun/nio/ch/
DThreadPool.java117 ThreadFactory threadFactory = getDefaultThreadPoolThreadFactory(); in createDefault() local
/libcore/jsr166-tests/src/test/java/jsr166/
DScheduledExecutorSubclassTest.java96 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
DThreadPoolExecutorSubclassTest.java173 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
DScheduledExecutorTest.java482 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
494 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
DThreadPoolExecutorTest.java240 ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
261 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local