com.sun.sgs.impl.io
Class DaemonThreadFactory
java.lang.Object
com.sun.sgs.impl.io.DaemonThreadFactory
- All Implemented Interfaces:
- ThreadFactory
final class DaemonThreadFactory
- extends Object
- implements ThreadFactory
A ThreadFactory that creates with setDaemon(true).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DaemonThreadFactory
public DaemonThreadFactory()
- Default constructor.
newThread
public Thread newThread(Runnable r)
-
This implementation creates daemon threads.
- Specified by:
newThread in interface ThreadFactory
- See Also:
Thread.setDaemon(boolean)
Copyright © 2007-2013 Sun Microsystems, Inc. All rights reserved