public class DaemonThreadFactory extends Object implements ThreadFactory
ThreadFactory that sets all threads it creates to be daemon threads.| Constructor and Description |
|---|
DaemonThreadFactory(ThreadFactory delegate) |
public DaemonThreadFactory(ThreadFactory delegate)
public Thread newThread(Runnable runnable)
newThread in interface ThreadFactoryCopyright © 2019. All rights reserved.