Searched refs:threadFactory (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutors.java80 * @param threadFactory the factory to use when creating new threads
82 * @throws NullPointerException if threadFactory is null
85 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { argument
89 threadFactory);
116 * equivalent <tt>newFixedThreadPool(1, threadFactory)</tt> the
120 * @param threadFactory the factory to use when creating new
124 * @throws NullPointerException if threadFactory is null
126 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { argument
131 threadFactory));
161 * @param threadFactory th
165 newCachedThreadPool(ThreadFactory threadFactory) argument
206 newSingleThreadScheduledExecutor(ThreadFactory threadFactory) argument
234 newScheduledThreadPool( int corePoolSize, ThreadFactory threadFactory) argument
[all...]
H A DThreadPoolExecutor.java469 private volatile ThreadFactory threadFactory; field in class:ThreadPoolExecutor
1152 * @param threadFactory the factory to use when the executor
1160 * or {@code threadFactory} is null
1167 ThreadFactory threadFactory) {
1169 threadFactory, defaultHandler);
1222 * @param threadFactory the factory to use when the executor
1232 * or {@code threadFactory} or {@code handler} is null
1239 ThreadFactory threadFactory,
1246 if (workQueue == null || threadFactory == null || handler == null)
1252 this.threadFactory
1162 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory) argument
1234 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument
1421 setThreadFactory(ThreadFactory threadFactory) argument
[all...]
H A DScheduledThreadPoolExecutor.java412 * @param threadFactory the factory to use when the executor
415 * @throws NullPointerException if {@code threadFactory} is null
418 ThreadFactory threadFactory) {
420 new DelayedWorkQueue(), threadFactory);
446 * @param threadFactory the factory to use when the executor
451 * @throws NullPointerException if {@code threadFactory} or
455 ThreadFactory threadFactory,
458 new DelayedWorkQueue(), threadFactory, handler);
417 ScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory) argument
454 ScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument

Completed in 74 milliseconds