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 ofThreadFactory
factory for creating grid SPI threads.
-
-
Constructor Summary
Constructors Constructor Description IgniteSpiThreadFactory(String igniteInstanceName, String threadName, IgniteLogger log)
-
-
-
Constructor Detail
-
IgniteSpiThreadFactory
public IgniteSpiThreadFactory(String igniteInstanceName, String threadName, IgniteLogger log)
- Parameters:
igniteInstanceName
- Ignite instance name, possiblynull
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 interfaceThreadFactory
-
-