Package org.apache.flink.util.concurrent
Class ExecutorThreadFactory.Builder
- java.lang.Object
-
- org.apache.flink.util.concurrent.ExecutorThreadFactory.Builder
-
- Enclosing class:
- ExecutorThreadFactory
public static final class ExecutorThreadFactory.Builder extends Object
Builder forExecutorThreadFactory
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorThreadFactory
build()
ExecutorThreadFactory.Builder
setExceptionHandler(Thread.UncaughtExceptionHandler exceptionHandler)
ExecutorThreadFactory.Builder
setPoolName(String poolName)
ExecutorThreadFactory.Builder
setThreadPriority(int priority)
-
-
-
Method Detail
-
setPoolName
public ExecutorThreadFactory.Builder setPoolName(String poolName)
-
setThreadPriority
public ExecutorThreadFactory.Builder setThreadPriority(int priority)
-
setExceptionHandler
public ExecutorThreadFactory.Builder setExceptionHandler(Thread.UncaughtExceptionHandler exceptionHandler)
-
build
public ExecutorThreadFactory build()
-
-