Package com.logicaldoc.util.concurrency
Class NamedThreadFactory
- java.lang.Object
 - 
- com.logicaldoc.util.concurrency.NamedThreadFactory
 
 
- 
- All Implemented Interfaces:
 ThreadFactory
public class NamedThreadFactory extends Object implements ThreadFactory
This thread factory acts likeExecutors.defaultThreadFactory()but gives a name prefix to the new thread.- Since:
 - 7.5
 - Author:
 - Marco Meschieri - LogicalDOC
 
 
- 
- 
Constructor Summary
Constructors Constructor Description NamedThreadFactory(String baseName) 
 - 
 
- 
- 
Constructor Detail
- 
NamedThreadFactory
public NamedThreadFactory(String baseName)
 
 - 
 
- 
Method Detail
- 
newThread
public Thread newThread(Runnable r)
- Specified by:
 newThreadin interfaceThreadFactory
 
 - 
 
 -