public final class ThreadHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static ThreadFactory |
getThreadFactory()
Gets the
ThreadFactory that will be used to create new threads. |
static void |
setThreadFactory(ThreadFactory factory)
Gets the
ThreadFactory that will be used to create new threads. |
@Nonnull public static ThreadFactory getThreadFactory()
ThreadFactory that will be used to create new threads.public static void setThreadFactory(@Nonnull ThreadFactory factory)
ThreadFactory that will be used to create new threads.factory - The new thread factory.