Package org.apache.lucene.util
Class NamedThreadFactory
java.lang.Object
org.apache.lucene.util.NamedThreadFactory
- All Implemented Interfaces:
- ThreadFactory
A default 
ThreadFactory implementation that accepts the name prefix
 of the created threads as a constructor argument. Otherwise, this factory
 yields the same semantics as the thread factory returned by
 Executors.defaultThreadFactory().- 
Constructor SummaryConstructorsConstructorDescriptionNamedThreadFactory(String threadNamePrefix) Creates a newNamedThreadFactoryinstance
- 
Method Summary
- 
Constructor Details- 
NamedThreadFactoryCreates a newNamedThreadFactoryinstance- Parameters:
- threadNamePrefix- the name prefix assigned to each thread created.
 
 
- 
- 
Method Details- 
newThreadCreates a newThread- Specified by:
- newThreadin interface- ThreadFactory
- See Also:
 
 
-