public class DaemonThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
This class should not be considered a part of the public API.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
namePrefix |
private static java.util.concurrent.atomic.AtomicInteger |
POOL_NUMBER |
private java.util.concurrent.atomic.AtomicInteger |
threadNumber |
Constructor and Description |
---|
DaemonThreadFactory(java.lang.String prefix) |
Modifier and Type | Method and Description |
---|---|
java.lang.Thread |
newThread(java.lang.Runnable runnable) |