public class NamedThreadFactory extends Object implements ThreadFactory
ThreadFactory
to creates named threads.Constructor and Description |
---|
NamedThreadFactory(String threadPrefixName) |
public NamedThreadFactory(String threadPrefixName)
public Thread newThread(Runnable r)
newThread
in interface ThreadFactory
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.