public final class DaemonThreadFactory extends Object implements ThreadFactory
| Modifier and Type | Method and Description | 
|---|---|
static Thread | 
newDaemonThread(Runnable r)  | 
static Thread | 
newDaemonThread(Runnable r,
               String name)  | 
static ThreadFactory | 
newDaemonThreadFactory()
Should be used by thread pools. 
 | 
static ThreadFactory | 
newDaemonThreadFactory(String name)  | 
Thread | 
newThread(Runnable r)  | 
public Thread newThread(Runnable r)
newThread in interface ThreadFactorypublic static ThreadFactory newDaemonThreadFactory()
ThreadFactory where each thread is daemonpublic static ThreadFactory newDaemonThreadFactory(String name)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.