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 ThreadFactory
Copyright © 2020. All rights reserved.