Class DefaultSolverThreadFactory
- java.lang.Object
 - 
- org.optaplanner.core.impl.solver.thread.DefaultSolverThreadFactory
 
 
- 
- All Implemented Interfaces:
 ThreadFactory
public class DefaultSolverThreadFactory extends Object implements ThreadFactory
Similar toExecutors's DefaultThreadFactory, but allows settings a namePrefix. 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultSolverThreadFactory()DefaultSolverThreadFactory(String threadPrefix) 
 - 
 
- 
- 
Constructor Detail
- 
DefaultSolverThreadFactory
public DefaultSolverThreadFactory()
 
- 
DefaultSolverThreadFactory
public DefaultSolverThreadFactory(String threadPrefix)
 
 - 
 
- 
Method Detail
- 
newThread
public Thread newThread(Runnable r)
- Specified by:
 newThreadin interfaceThreadFactory
 
 - 
 
 -