public class DaemonThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
DaemonThreadFactory(String basename) |
DaemonThreadFactory(String basename,
boolean isDaemon) |
public DaemonThreadFactory(String basename)
basename
- String to use in thread namepublic DaemonThreadFactory(String basename, boolean isDaemon)
basename
- String to use in thread nameisDaemon
- Will created threads be set as daemon ?public Thread newThread(Runnable runnable)
newThread
in interface ThreadFactory
Copyright © 2015 Nuxeo SA. All rights reserved.