public static final class ExecutorThreadFactory.Builder extends Object
ExecutorThreadFactory
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecutorThreadFactory |
build() |
ExecutorThreadFactory.Builder |
setExceptionHandler(Thread.UncaughtExceptionHandler exceptionHandler) |
ExecutorThreadFactory.Builder |
setPoolName(String poolName) |
ExecutorThreadFactory.Builder |
setThreadPriority(int priority) |
public ExecutorThreadFactory.Builder setPoolName(String poolName)
public ExecutorThreadFactory.Builder setThreadPriority(int priority)
public ExecutorThreadFactory.Builder setExceptionHandler(Thread.UncaughtExceptionHandler exceptionHandler)
public ExecutorThreadFactory build()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.