public class NamedDaemonThreadFactory extends Object implements ThreadFactory
Modifier and Type | Field and Description |
---|---|
protected AtomicLong |
threadIndex |
Constructor and Description |
---|
NamedDaemonThreadFactory() |
protected final AtomicLong threadIndex
public Thread newThread(Runnable task)
newThread
in interface ThreadFactory
Copyright © 2014. All Rights Reserved.