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.java161 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { in newFixedThreadPool()
197 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { in newSingleThreadExecutor()
237 public static ExecutorService newCachedThreadPool(ThreadFactory threadFactory) { in newCachedThreadPool()
317 …lic static ScheduledExecutorService newSingleThreadScheduledExecutor(ThreadFactory threadFactory) { in newSingleThreadScheduledExecutor()
346 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool()
DThreadPoolExecutor.java532 private volatile ThreadFactory threadFactory; field in ThreadPoolExecutor
1244 ThreadFactory threadFactory) { in ThreadPoolExecutor()
1317 ThreadFactory threadFactory, in ThreadPoolExecutor()
1520 public void setThreadFactory(ThreadFactory threadFactory) { in setThreadFactory()
DScheduledThreadPoolExecutor.java519 ThreadFactory threadFactory) { in ScheduledThreadPoolExecutor()
558 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.java187 ThreadFactory threadFactory) in withFixedThreadPool()
/libcore/ojluni/src/main/java/java/lang/ref/
DCleaner.java205 public static Cleaner create(ThreadFactory threadFactory) { in create()
/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.java133 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor()
136 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor()
596 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
608 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
DThreadPoolExecutorSubclassTest.java208 ThreadFactory threadFactory) { in CustomTPE()
227 ThreadFactory threadFactory, in CustomTPE()
430 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
452 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
DScheduledExecutorTest.java662 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
675 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local
DThreadPoolExecutorTest.java284 ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() local
306 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() local