Package com.webmethods.caf.common.thread
Class NamedThreadFactory
java.lang.Object
com.webmethods.caf.common.thread.NamedThreadFactory
- All Implemented Interfaces:
ThreadFactory
Implementation of ThreadFactory that enables a more
meaningful name for the created threads.
-
Constructor Summary
ConstructorsConstructorDescriptionNamedThreadFactory
(String prefix) ctorNamedThreadFactory
(String prefix, boolean isPool) -
Method Summary
-
Constructor Details
-
NamedThreadFactory
ctor- Parameters:
prefix
- the prefix to use of the thread name
-
NamedThreadFactory
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-