public final class NamedSequenceThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
NamedSequenceThreadFactory(String threadName)
Create the factory.
|
| Modifier and Type | Method and Description |
|---|---|
Thread |
newThread(Runnable runnable)
Creates a new thread using the provided name and sequence counter.
|
public NamedSequenceThreadFactory(String threadName)
threadName - The name of the threads to be created.public Thread newThread(Runnable runnable)
newThread in interface ThreadFactoryCopyright © 2015. All rights reserved.