Searched refs:threadFactory (Results 1 – 2 of 2) sorted by relevance
36 public SingleThreadNamedTaskExecutor(ThreadFactory threadFactory) { in SingleThreadNamedTaskExecutor() argument38 mWorker = threadFactory.newThread(new Worker()); in SingleThreadNamedTaskExecutor()94 public static Factory<NamedTaskExecutor> factory(final ThreadFactory threadFactory) { in factory() argument97 return new SingleThreadNamedTaskExecutor(threadFactory); in factory()
244 final ThreadFactory threadFactory = getQueryThreadFactory(); in createExecutorFactory() local247 return Executors.newFixedThreadPool(numThreads, threadFactory); in createExecutorFactory()