Package io.molr.mole.core.utils
Class ThreadFactories
- java.lang.Object
-
- io.molr.mole.core.utils.ThreadFactories
-
public final class ThreadFactories extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThreadFactory
namedDaemonThreadFactory(String nameFormat)
Returns aThreadFactory
with the specified name format
-
-
-
Method Detail
-
namedDaemonThreadFactory
public static ThreadFactory namedDaemonThreadFactory(String nameFormat)
Returns aThreadFactory
with the specified name format- Parameters:
nameFormat
- the same format to be used to create new threads- Returns:
- a new thread factory
-
-