net.myrrix.common
Class NamedThreadFactory
java.lang.Object
net.myrrix.common.NamedThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public final class NamedThreadFactory
- extends Object
- implements ThreadFactory
Creates threads with a given name prefix and daemon status.
- Author:
- Sean Owen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedThreadFactory
public NamedThreadFactory(boolean daemon,
String prefix)
newThread
public Thread newThread(Runnable runnable)
- Specified by:
newThread in interface ThreadFactory
Copyright © 2012. All Rights Reserved.