org.littleshoot.util
Class DaemonThreadFactory
java.lang.Object
org.littleshoot.util.DaemonThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class DaemonThreadFactory
- extends Object
- implements ThreadFactory
A thread factory that creates daemon threads.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DaemonThreadFactory
public DaemonThreadFactory(String name)
- Creates a new daemon thread factory.
- Parameters:
name - The prefix name for new threads.
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread in interface ThreadFactory
Copyright © 2011-2013 LittleShoot. All Rights Reserved.