Searched defs:threadFactory (Results 1 - 5 of 5) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Executors.java | 119 * @param threadFactory the factory to use when creating new threads 121 * @throws NullPointerException if threadFactory is null 124 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { argument 128 threadFactory); 155 * equivalent {@code newFixedThreadPool(1, threadFactory)} the 159 * @param threadFactory the factory to use when creating new 163 * @throws NullPointerException if threadFactory is null 165 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { argument 170 threadFactory)); 200 * @param threadFactory th 204 newCachedThreadPool(ThreadFactory threadFactory) argument 245 newSingleThreadScheduledExecutor(ThreadFactory threadFactory) argument 273 newScheduledThreadPool( int corePoolSize, ThreadFactory threadFactory) argument [all...] |
H A D | ScheduledThreadPoolExecutor.java | 431 * @param threadFactory the factory to use when the executor 434 * @throws NullPointerException if {@code threadFactory} is null 437 ThreadFactory threadFactory) { 440 new DelayedWorkQueue(), threadFactory); 467 * @param threadFactory the factory to use when the executor 472 * @throws NullPointerException if {@code threadFactory} or 476 ThreadFactory threadFactory, 480 new DelayedWorkQueue(), threadFactory, handler); 436 ScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory) argument 475 ScheduledThreadPoolExecutor(int corePoolSize, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument
|
H A D | ThreadPoolExecutor.java | 479 private volatile ThreadFactory threadFactory; field in class:ThreadPoolExecutor 1185 * @param threadFactory the factory to use when the executor 1193 * or {@code threadFactory} is null 1200 ThreadFactory threadFactory) { 1202 threadFactory, defaultHandler); 1255 * @param threadFactory the factory to use when the executor 1265 * or {@code threadFactory} or {@code handler} is null 1272 ThreadFactory threadFactory, 1279 if (workQueue == null || threadFactory == null || handler == null) 1285 this.threadFactory 1195 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory) argument 1267 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument 1456 setThreadFactory(ThreadFactory threadFactory) argument [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ScheduledExecutorSubclassTest.java | 90 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { argument 91 super(corePoolSize, threadFactory); 93 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, argument 95 super(corePoolSize, threadFactory, handler);
|
H A D | ThreadPoolExecutorSubclassTest.java | 165 ThreadFactory threadFactory) { 167 threadFactory); 184 ThreadFactory threadFactory, 187 workQueue, threadFactory, handler); 846 * Constructor throws if threadFactory is set to null 160 CustomTPE(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory) argument 179 CustomTPE(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, ThreadFactory threadFactory, RejectedExecutionHandler handler) argument
|
Completed in 99 milliseconds