Package org.optaplanner.core.impl.solver.thread

## Class DefaultSolverThreadFactory

- java.lang.Object
- - org.optaplanner.core.impl.solver.thread.DefaultSolverThreadFactory

- All Implemented Interfaces:
    `ThreadFactory`

      public class DefaultSolverThreadFactory
      extends Object
      implements ThreadFactory

  Similar to `Executors`'s DefaultThreadFactory, but allows settings a namePrefix.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultSolverThreadFactory()` |
    `DefaultSolverThreadFactory​(String threadPrefix)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Thread` | `newThread​(Runnable r)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultSolverThreadFactory

          public DefaultSolverThreadFactory()

    - #### DefaultSolverThreadFactory

          public DefaultSolverThreadFactory​(String threadPrefix)

  - ### Method Detail

    - #### newThread

          public Thread newThread​(Runnable r)

      Specified by:
        `newThread` in interface `ThreadFactory`