org.d_haven.event.command
public class GroupedThreadFactory extends Object implements ThreadFactory
Field Summary | |
---|---|
ThreadGroup | m_group |
int | m_number |
Constructor Summary | |
---|---|
GroupedThreadFactory()
Create a GroupedThreadFactory with the current thread's
ThreadGroup. | |
GroupedThreadFactory(ThreadGroup group)
Create a GroupedThreadFactory with the ThreadGroup supplied.
|
Method Summary | |
---|---|
Thread | newThread(Runnable runnable) |
String | toString() |
Parameters: group the ThreadGroup to use for all new threads