Returns a new named daemon thread factory, for daemon threads under the root thread, at normal thread priority.
Returns a new named daemon thread factory, for daemon threads under the root thread, at normal thread priority.
the name prefix for threads of this factory
a new ThreadFactory
Returns a new named daemon thread factory at normal thread priority.
Returns a new named daemon thread factory at normal thread priority.
the name prefix for threads of this factory
a new ThreadFactory
Returns a new named non-daemon thread factory at normal thread priority.
Returns a new named non-daemon thread factory at normal thread priority.
the name prefix for threads of this factory
a new ThreadFactory
Provide a method to get DefaultThreadFactory instances with a specified thread name prefix. This should be used to make debugging easier.
The root thread is the top-most thread of the current JVM. A method is provided here to obtain a factor that creates daemon children directly under that root thread.
Refer to documentation on java.lang.Thread for distinctions between daemon/non-daemon threads. Short version: daemon threads die immediately when their parent dies; non-daemon threads are allowed to finish.