Class NamingThreadPoolFactory
- java.lang.Object
 - 
- org.opendaylight.controller.config.threadpool.util.NamingThreadPoolFactory
 
 
- 
- All Implemented Interfaces:
 Closeable,AutoCloseable,ThreadFactory
public class NamingThreadPoolFactory extends Object implements ThreadFactory, Closeable
Implementation ofThreadFactory. This class is thread-safe. 
- 
- 
Constructor Summary
Constructors Constructor Description NamingThreadPoolFactory(String namePrefix) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetNamePrefix()ThreadnewThread(Runnable r) 
 - 
 
- 
- 
Constructor Detail
- 
NamingThreadPoolFactory
public NamingThreadPoolFactory(String namePrefix)
 
 - 
 
- 
Method Detail
- 
newThread
public Thread newThread(Runnable r)
- Specified by:
 newThreadin interfaceThreadFactory
 
- 
close
public void close()
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable
 
- 
getNamePrefix
public String getNamePrefix()
 
 - 
 
 -