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