public abstract class ThreadFactoryImpl
extends java.lang.Object
| Constructor and Description |
|---|
ThreadFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.ThreadFactory |
build()
Builds the.
|
ThreadFactoryImpl |
setDaemon(boolean daemon)
Sets the daemon.
|
ThreadFactoryImpl |
setNamePrefix(java.lang.String namePrefix)
Sets the name prefix.
|
ThreadFactoryImpl |
setPriority(int priority)
Sets the priority.
|
ThreadFactoryImpl |
setThreadFactory(java.util.concurrent.ThreadFactory backingThreadFactory)
Sets the thread factory.
|
ThreadFactoryImpl |
setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
Sets the uncaught exception handler.
|
public java.util.concurrent.ThreadFactory build()
public ThreadFactoryImpl setDaemon(boolean daemon)
daemon - the daemonpublic ThreadFactoryImpl setNamePrefix(java.lang.String namePrefix)
namePrefix - the name prefixpublic ThreadFactoryImpl setPriority(int priority)
priority - the prioritypublic ThreadFactoryImpl setThreadFactory(java.util.concurrent.ThreadFactory backingThreadFactory)
backingThreadFactory - the backing thread factorypublic ThreadFactoryImpl setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler uncaughtExceptionHandler)
uncaughtExceptionHandler - the uncaught exception handler