public interface ThreadFactory extends ThreadFactory
Modifier and Type | Method | Description |
---|---|---|
Thread |
makeThread(ThreadGroup group,
Runnable runnable,
String sName) |
Create a Thread with the specified group, runnable, and name.
|
newThread
Thread makeThread(ThreadGroup group, Runnable runnable, String sName)
group
- (optional) the thread's thread grouprunnable
- (optional) the thread's runnablesName
- (optional) the thread's name