类 ThreadFactoryBuilder
java.lang.Object
com.alibaba.nacos.common.utils.ThreadFactoryBuilder
build thread factory.
- 作者:
- zzq
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()build thread factory.customizeFactory(ThreadFactory factory) set customizeFactory property.daemon(boolean daemon) set daemon property.nameFormat(String nameFormat) set nameFormat property.priority(int priority) set priority property.uncaughtExceptionHandler(Thread.UncaughtExceptionHandler uncaughtExceptionHandler) set uncaughtExceptionHandler property.
-
构造器详细资料
-
ThreadFactoryBuilder
public ThreadFactoryBuilder()
-
-
方法详细资料
-
nameFormat
set nameFormat property. -
priority
set priority property. -
uncaughtExceptionHandler
public ThreadFactoryBuilder uncaughtExceptionHandler(Thread.UncaughtExceptionHandler uncaughtExceptionHandler) set uncaughtExceptionHandler property. -
daemon
set daemon property. -
customizeFactory
set customizeFactory property. -
build
build thread factory.
-