public class NamedThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
NamedThreadFactory(String threadPrefix)
Construct a thread factory that uses the specified parameter as the thread prefix.
|
public NamedThreadFactory(String threadPrefix)
threadPrefix - the prefix with witch all created threads will be namedpublic Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2023. All rights reserved.