Package org.apache.ignite.spi

## Class IgniteSpiThreadFactory

- java.lang.Object
- - org.apache.ignite.spi.IgniteSpiThreadFactory

- All Implemented Interfaces:
    `ThreadFactory`

      public class IgniteSpiThreadFactory
      extends Object
      implements ThreadFactory

  This class provides implementation of `ThreadFactory` factory for creating grid SPI threads.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `IgniteSpiThreadFactory​(String igniteInstanceName, String threadName, IgniteLogger log)` |

  - ### 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

    - #### IgniteSpiThreadFactory

          public IgniteSpiThreadFactory​(String igniteInstanceName,
                                        String threadName,
                                        IgniteLogger log)

      Parameters:
        `igniteInstanceName` - Ignite instance name, possibly `null` for default Ignite instance.
        `threadName` - Name for threads created by this factory.
        `log` - Grid logger.

  - ### Method Detail

    - #### newThread

          public Thread newThread​(Runnable r)

      Specified by:
        `newThread` in interface `ThreadFactory`