private class ThreadPool.NameThreadFactory extends Object implements ThreadFactory
| Modifier and Type | Field and Description |
|---|---|
private ThreadGroup |
group |
private String |
namePrefix |
private AtomicInteger |
threadNumber |
| Constructor and Description |
|---|
NameThreadFactory(String poolName) |
private final ThreadGroup group
private final AtomicInteger threadNumber
private final String namePrefix
public NameThreadFactory(String poolName)
public Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2015. All rights reserved.