private static final class MetricsExecutorImpl.ThreadPoolExecutorThreadFactory extends Object implements ThreadFactory
Modifier and Type | Field and Description |
---|---|
private String |
name |
private AtomicInteger |
threadNumber |
Modifier | Constructor and Description |
---|---|
private |
ThreadPoolExecutorThreadFactory(String name) |
private final AtomicInteger threadNumber
private ThreadPoolExecutorThreadFactory(String name)
public Thread newThread(Runnable runnable)
newThread
in interface ThreadFactory
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.