Package org.apache.solr.common.util
Class SolrNamedThreadFactory
- java.lang.Object
-
- org.apache.solr.common.util.SolrNamedThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class SolrNamedThreadFactory extends Object implements ThreadFactory
AThreadFactory
that names threads with the given prefix.
-
-
Constructor Summary
Constructors Constructor Description SolrNamedThreadFactory(String namePrefix)
-
-
-
Constructor Detail
-
SolrNamedThreadFactory
public SolrNamedThreadFactory(String namePrefix)
-
-
Method Detail
-
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread
in interfaceThreadFactory
-
-