public class NamedThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
NamedThreadFactory() |
NamedThreadFactory(String prefix) |
NamedThreadFactory(String prefix,
boolean daemon) |
| Modifier and Type | Method and Description |
|---|---|
ThreadGroup |
getThreadGroup() |
Thread |
newThread(Runnable runnable) |
public NamedThreadFactory()
public NamedThreadFactory(String prefix)
public NamedThreadFactory(String prefix, boolean daemon)
public Thread newThread(Runnable runnable)
newThread in interface ThreadFactorypublic ThreadGroup getThreadGroup()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.