public class DaemonThreadFactory extends java.lang.Object implements java.util.concurrent.ThreadFactory
Constructor and Description |
---|
DaemonThreadFactory() |
Modifier and Type | Method and Description |
---|---|
static java.util.concurrent.ThreadFactory |
getInstance()
Returns single shared instance
|
java.lang.Thread |
newThread(java.lang.Runnable runnable) |
public DaemonThreadFactory()
public static java.util.concurrent.ThreadFactory getInstance()
public java.lang.Thread newThread(java.lang.Runnable runnable)
newThread
in interface java.util.concurrent.ThreadFactory
ThreadFactory.newThread(java.lang.Runnable)