A ThreadFactory builder, providing any combination of these features:
whether threads should be marked as {@linkplain Thread#setDaemon daemon}threads
a {@linkplain ThreadFactoryBuilder#setNameFormat naming format}
a {@linkplain Thread#setPriority thread priority}
an {@linkplain Thread#setUncaughtExceptionHandler uncaught exceptionhandler}
a {@linkplain ThreadFactory#newThread backing thread factory}
If no backing thread factory is provided, a default backing thread factory is used as if by calling {@code setThreadFactory(}{@link Executors#defaultThreadFactory()}{@code )}.
@author Kurt Alfred Kluever
@since 4.0
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.