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-2020 The Apache Software Foundation. All Rights Reserved.