Package ubic.gemma.core.util
Class SimpleThreadFactory
- java.lang.Object
-
- ubic.gemma.core.util.SimpleThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
@ParametersAreNonnullByDefault public class SimpleThreadFactory extends Object implements ThreadFactory
A simple thread factory based on a preferably unique thread name prefix.- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description SimpleThreadFactory(String threadNamePrefix)
-
-
-
Constructor Detail
-
SimpleThreadFactory
public SimpleThreadFactory(String threadNamePrefix)
-
-
Method Detail
-
newThread
public Thread newThread(Runnable runnable)
- Specified by:
newThread
in interfaceThreadFactory
-
-