Class CustomizableThreadFactory
java.lang.Object
org.springframework.util.CustomizableThreadCreator
org.springframework.scheduling.concurrent.CustomizableThreadFactory
- All Implemented Interfaces:
- Serializable, ThreadFactory
- Direct Known Subclasses:
- DefaultManagedAwareThreadFactory, ExecutorConfigurationSupport
Implementation of the 
ThreadFactory interface,
allowing for customizing the created threads (name, priority, etc).
See the base class CustomizableThreadCreator
for details on the available configuration options.
- Since:
- 2.0.3
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a new CustomizableThreadFactory with default thread name prefix.CustomizableThreadFactory(String threadNamePrefix) Create a new CustomizableThreadFactory with the given thread name prefix.
- 
Method Summary
- 
Constructor Details- 
CustomizableThreadFactorypublic CustomizableThreadFactory()Create a new CustomizableThreadFactory with default thread name prefix.
- 
CustomizableThreadFactoryCreate a new CustomizableThreadFactory with the given thread name prefix.- Parameters:
- threadNamePrefix- the prefix to use for the names of newly created threads
 
 
- 
- 
Method Details- 
newThread- Specified by:
- newThreadin interface- ThreadFactory
 
 
-