public class BuildThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
ThreadFactory
implementation that ensures the corresponding threads have a meaningful name.Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicInteger |
id |
private static java.lang.String |
PREFIX |
Constructor and Description |
---|
BuildThreadFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.Thread |
newThread(java.lang.Runnable r) |
private final java.util.concurrent.atomic.AtomicInteger id
private static final java.lang.String PREFIX