public class NamedThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
NamedThreadFactory(String namePrefix)
Constructs the thread factory.
|
public NamedThreadFactory(String namePrefix)
namePrefix
- a prefix to append to thread names (will be separated from the default thread name by a space.)public Thread newThread(Runnable runnable)
newThread
in interface ThreadFactory
Copyright © 2002–2016 JmDNS. All rights reserved.