Searched refs:ThreadFactoryBuilder (Results 1 – 7 of 7) sorted by relevance
45 public final class ThreadFactoryBuilder { class55 public ThreadFactoryBuilder() {} in ThreadFactoryBuilder() method in ThreadFactoryBuilder70 public ThreadFactoryBuilder setNameFormat(String nameFormat) { in setNameFormat()83 public ThreadFactoryBuilder setDaemon(boolean daemon) { in setDaemon()95 public ThreadFactoryBuilder setPriority(int priority) { in setPriority()114 public ThreadFactoryBuilder setUncaughtExceptionHandler( in setUncaughtExceptionHandler()131 public ThreadFactoryBuilder setThreadFactory( in setThreadFactory()149 private static ThreadFactory build(ThreadFactoryBuilder builder) { in build()
113 new ThreadFactoryBuilder()
228 executor.setThreadFactory(new ThreadFactoryBuilder() in useDaemonThreadFactory()
49 private ThreadFactoryBuilder builder;53 builder = new ThreadFactoryBuilder(); in setUp()211 npTester.testAllPublicConstructors(ThreadFactoryBuilder.class); in testNulls()212 npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class); in testNulls()
84 new ThreadFactoryBuilder().setDaemon(true).build()); in testListenInPoolThreadUsesGivenExecutor()114 new ThreadFactoryBuilder().setDaemon(true).build()) { in testListenInPoolThreadCustomExecutorInterrupted()
37 import com.google.common.util.concurrent.ThreadFactoryBuilder;89 Executors.newCachedThreadPool(new ThreadFactoryBuilder().setDaemon(true).build()));
27 import com.google.common.util.concurrent.ThreadFactoryBuilder;66 Executors.newFixedThreadPool(threads, new ThreadFactoryBuilder().setDaemon(true).build()); in setUp()