public class NamedThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
NamedThreadFactory() |
NamedThreadFactory(int priority) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNamePrefix() |
ThreadGroup |
getParentGroup() |
int |
getPriority() |
Thread |
newThread(Runnable runnable) |
void |
setNamePrefix(String namePrefix) |
void |
setParentGroup(ThreadGroup parentGroup) |
void |
setPriority(int priority) |
public NamedThreadFactory()
public NamedThreadFactory(int priority)
public String getNamePrefix()
public ThreadGroup getParentGroup()
public int getPriority()
public Thread newThread(Runnable runnable)
newThread in interface ThreadFactorypublic void setNamePrefix(String namePrefix)
public void setParentGroup(ThreadGroup parentGroup)
public void setPriority(int priority)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.