net.spy.memcached.internal
Class BasicThreadFactory
java.lang.Object
net.spy.memcached.internal.BasicThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class BasicThreadFactory
- extends Object
- implements ThreadFactory
Simple thread factory that can set daemon status on threads and give them names.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicThreadFactory
public BasicThreadFactory(String name,
boolean daemon)
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread
in interface ThreadFactory