com.google.common.util.concurrent
Class DaemonThreadFactory
java.lang.Object
com.google.common.util.concurrent.DaemonThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class DaemonThreadFactory
- extends Object
- implements ThreadFactory
Wraps another ThreadFactory
, making all new threads daemon threads.
- Since:
- 2009.09.15 tentative
- Author:
- Charles Fry, Harendra Verma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DaemonThreadFactory
public DaemonThreadFactory(ThreadFactory factory)
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread
in interface ThreadFactory