public class ThreadFactoryBuilder extends Object
| Constructor and Description | 
|---|
ThreadFactoryBuilder()  | 
| Modifier and Type | Method and Description | 
|---|---|
ThreadFactory | 
build()
Create the  
ThreadFactory with the configuration currently applied to this builder. | 
ThreadFactoryBuilder | 
daemonThreads(Boolean daemonThreads)
Whether the threads created by the factory should be daemon threads. 
 | 
ThreadFactoryBuilder | 
threadNamePrefix(String threadNamePrefix)
The name prefix for threads created by this thread factory. 
 | 
public ThreadFactoryBuilder threadNamePrefix(String threadNamePrefix)
public ThreadFactoryBuilder daemonThreads(Boolean daemonThreads)
public ThreadFactory build()
ThreadFactory with the configuration currently applied to this builder.Copyright © 2022. All rights reserved.