|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.junit.NamedFactory
public class NamedFactory
Factory of threads named.
| Field Summary | |
|---|---|
protected ThreadGroup |
group
Thread group. |
protected AtomicInteger |
poolNumber
Pool number. |
protected AtomicInteger |
threadNumber
Thread number. |
| Constructor Summary | |
|---|---|
NamedFactory(String poolName)
Friendly constructor. |
|
| Method Summary | |
|---|---|
Thread |
newThread(Runnable r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final AtomicInteger poolNumber
protected final AtomicInteger threadNumber
protected final ThreadGroup group
| Constructor Detail |
|---|
public NamedFactory(String poolName)
poolName - The pool name.| Method Detail |
|---|
public Thread newThread(Runnable r)
newThread in interface ThreadFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||