public class SynThreadFactory extends Object implements ThreadFactory, SynReportThrower
| Constructor and Description |
|---|
SynThreadFactory(String poolName) |
SynThreadFactory(String poolName,
SynThreadReporter reporter) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCreatedThreadCount() |
String |
getName() |
SynThreadReporter |
getReporter() |
boolean |
isPool() |
Thread |
newThread(Runnable command) |
public SynThreadFactory(String poolName)
public SynThreadFactory(String poolName, SynThreadReporter reporter)
public final String getName()
public final SynThreadReporter getReporter()
public int getCreatedThreadCount()
public Thread newThread(Runnable command)
newThread in interface ThreadFactorypublic final boolean isPool()
isPool in interface SynReportThrowerCopyright © 2021. All rights reserved.