public class NamedThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
NamedThreadFactory(String namePrefix) |
NamedThreadFactory(String namePrefix,
boolean daemon) |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix() |
boolean |
isDaemon() |
Thread |
newThread(Runnable runnable) |
public NamedThreadFactory(String namePrefix)
public NamedThreadFactory(String namePrefix, boolean daemon)
public String getPrefix()
public boolean isDaemon()
public Thread newThread(Runnable runnable)
newThread
in interface ThreadFactory
Copyright © 2012-2018. All Rights Reserved.