public class DaemonThreadFactory extends Object implements ThreadFactory
Modifier and Type | Field and Description |
---|---|
(package private) ThreadGroup |
group |
(package private) String |
namePrefix |
(package private) static AtomicInteger |
poolNumber |
(package private) AtomicInteger |
threadNumber |
Constructor and Description |
---|
DaemonThreadFactory(String name) |
static final AtomicInteger poolNumber
final ThreadGroup group
final AtomicInteger threadNumber
final String namePrefix
public DaemonThreadFactory(String name)
public Thread newThread(Runnable r)
newThread
in interface ThreadFactory
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.