public class NamingThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
NamingThreadFactory(String name)
Creates a new NamingThreadFactory.
|
NamingThreadFactory(String name,
boolean daemon)
Creates a new NamingThreadFactory.
|
public NamingThreadFactory(String name)
name - The name (prefix) of any threads created by this factory.public NamingThreadFactory(String name, boolean daemon)
name - The name (prefix) of any threads created by this factory.daemon - Whether to create a daemon thread.public Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.