ThreadFactorypublic class NamedThreadFactory extends Object implements ThreadFactory
| Constructor | 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 ThreadFactoryCopyright © 2002–2018 JmDNS. All rights reserved.