|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.common.concurrent.SimpleThreadFactory
public class SimpleThreadFactory
This class implements a thread factory used to create threads for the SimpleThreadService class. The main thing the factory does is ensure threads are properly named.
| Constructor Summary | |
|---|---|
SimpleThreadFactory(java.lang.String prefix)
Creates a new thread factory with a prefix for thread names. |
|
| Method Summary | |
|---|---|
java.lang.Thread |
newThread(java.lang.Runnable runnable)
Creates a new thread with proper name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleThreadFactory(java.lang.String prefix)
prefix - Thread prefix| Method Detail |
|---|
public java.lang.Thread newThread(java.lang.Runnable runnable)
newThread in interface java.util.concurrent.ThreadFactoryThreadFactory.newThread(java.lang.Runnable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||