|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.root1.simon.NamedThreadPoolFactory
public class NamedThreadPoolFactory
A factory-class that let's you use named threads in a thread-pool
| Constructor Summary | |
|---|---|
protected |
NamedThreadPoolFactory(java.lang.String baseName)
Creates a new thread-factory that gives each thread a basename |
| Method Summary | |
|---|---|
java.lang.Thread |
newThread(java.lang.Runnable r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected NamedThreadPoolFactory(java.lang.String baseName)
baseName - the basename for the created threads| Method Detail |
|---|
public java.lang.Thread newThread(java.lang.Runnable r)
newThread in interface java.util.concurrent.ThreadFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||