public class LazyThreadFactory extends DefaultThreadFactory
address, baseName, clusterName, counter, createDaemons, group, includeClusterName, includeLocalAddress, threadDecorator, use_numbering
Constructor and Description |
---|
LazyThreadFactory(ThreadGroup group,
String baseName,
boolean createDaemons) |
LazyThreadFactory(ThreadGroup group,
String baseName,
boolean createDaemons,
boolean use_numbering) |
Modifier and Type | Method and Description |
---|---|
Thread |
newThread(ThreadGroup group,
Runnable r,
String name) |
protected void |
renameThreads() |
void |
setAddress(String address) |
void |
setClusterName(String cluster_name) |
getThreadDecorator, newThread, newThread, newThread, renameThread, renameThread, renameThread, renameThread, setIncludeClusterName, setPattern, setThreadDecorator
public LazyThreadFactory(ThreadGroup group, String baseName, boolean createDaemons)
public LazyThreadFactory(ThreadGroup group, String baseName, boolean createDaemons, boolean use_numbering)
public Thread newThread(ThreadGroup group, Runnable r, String name)
newThread
in class DefaultThreadFactory
public void setAddress(String address)
setAddress
in class DefaultThreadFactory
public void setClusterName(String cluster_name)
setClusterName
in class DefaultThreadFactory
protected void renameThreads()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.