public class DaemonThreadFactory extends Object implements ThreadFactory
| Constructor and Description | 
|---|
| DaemonThreadFactory()Uses  Executors.defaultThreadFactory()as the delegate. | 
| DaemonThreadFactory(String basename) | 
| DaemonThreadFactory(ThreadFactory delegate,
                   String basename)Uses the specified delegate  ThreadFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ThreadFactory | defaultThreadFactory()Returns an instance based on  Executors.defaultThreadFactory()that configures the thread for daemon mode. | 
| Thread | newThread(Runnable r) | 
public DaemonThreadFactory()
Executors.defaultThreadFactory() as the delegate.public DaemonThreadFactory(String basename)
public DaemonThreadFactory(ThreadFactory delegate, String basename)
ThreadFactory.delegate - The delegate thread factory that is responsible for creating
            the threads.basename - Optional prefix that will be used to assign names to the
            generated threads.public static final ThreadFactory defaultThreadFactory()
Executors.defaultThreadFactory()
 that configures the thread for daemon mode.public Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.