public interface ThreadFactory
extends java.util.concurrent.ThreadFactory
限定符和类型 | 方法和说明 |
---|---|
java.lang.Thread |
newThread(java.lang.Runnable r,
java.lang.String name) |
java.lang.Thread |
newThread(java.lang.ThreadGroup group,
java.lang.Runnable r,
java.lang.String name)
已过时。
|
void |
renameThread(java.lang.String base_name,
java.lang.Thread thread) |
void |
setAddress(java.lang.String address) |
void |
setClusterName(java.lang.String channelName) |
void |
setIncludeClusterName(boolean includeClusterName) |
void |
setPattern(java.lang.String pattern) |
java.lang.Thread newThread(java.lang.Runnable r, java.lang.String name)
@Deprecated java.lang.Thread newThread(java.lang.ThreadGroup group, java.lang.Runnable r, java.lang.String name)
void setPattern(java.lang.String pattern)
void setIncludeClusterName(boolean includeClusterName)
void setClusterName(java.lang.String channelName)
void setAddress(java.lang.String address)
void renameThread(java.lang.String base_name, java.lang.Thread thread)