Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java159 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { in newFixedThreadPool()
198 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { in newSingleThreadExecutor()
238 public static ExecutorService newCachedThreadPool(ThreadFactory threadFactory) { in newCachedThreadPool()
280 …lic static ScheduledExecutorService newSingleThreadScheduledExecutor(ThreadFactory threadFactory) { in newSingleThreadScheduledExecutor()
309 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool()
DThreadPoolExecutor.java525 private volatile ThreadFactory threadFactory; field in ThreadPoolExecutor
1233 ThreadFactory threadFactory) { in ThreadPoolExecutor()
1306 ThreadFactory threadFactory, in ThreadPoolExecutor()
1502 public void setThreadFactory(ThreadFactory threadFactory) { in setThreadFactory()
DScheduledThreadPoolExecutor.java478 ThreadFactory threadFactory) { in ScheduledThreadPoolExecutor()
517 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/lang/ref/
DCleaner.java205 public static Cleaner create(ThreadFactory threadFactory) { in create()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousChannelGroup.java187 ThreadFactory threadFactory) in withFixedThreadPool()
/libcore/ojluni/src/main/java/sun/nio/ch/
DThreadPool.java117 ThreadFactory threadFactory = getDefaultThreadPoolThreadFactory(); in createDefault() local
/libcore/ojluni/src/main/java/jdk/internal/ref/
DCleanerImpl.java113 public void start(Cleaner cleaner, ThreadFactory threadFactory) { in start()
/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
/libcore/ojluni/src/test/java/util/concurrent/tck/
DScheduledExecutorSubclassTest.java120 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor()
123 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor()
562 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
573 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
DThreadPoolExecutorSubclassTest.java195 ThreadFactory threadFactory) { in CustomTPE()
214 ThreadFactory threadFactory, in CustomTPE()
409 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
430 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
DScheduledExecutorTest.java506 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
518 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
DThreadPoolExecutorTest.java262 ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
283 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local