Package org.apache.ignite.thread
Class IgniteThreadFactory
- java.lang.Object
-
- org.apache.ignite.thread.IgniteThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class IgniteThreadFactory extends Object implements ThreadFactory
This class provides implementation ofThreadFactory
factory for creating grid threads.
-
-
Constructor Summary
Constructors Constructor Description IgniteThreadFactory(String igniteInstanceName, String threadName)
Constructs new thread factory for given grid.IgniteThreadFactory(String igniteInstanceName, String threadName, byte plc, Thread.UncaughtExceptionHandler eHnd)
Constructs new thread factory for given grid.IgniteThreadFactory(String igniteInstanceName, String threadName, Thread.UncaughtExceptionHandler eHnd)
Constructs new thread factory for given grid.
-
-
-
Constructor Detail
-
IgniteThreadFactory
public IgniteThreadFactory(String igniteInstanceName, String threadName)
Constructs new thread factory for given grid. All threads will belong to the same default thread group.- Parameters:
igniteInstanceName
- Ignite instance name.threadName
- Thread name.
-
IgniteThreadFactory
public IgniteThreadFactory(String igniteInstanceName, String threadName, Thread.UncaughtExceptionHandler eHnd)
Constructs new thread factory for given grid. All threads will belong to the same default thread group.- Parameters:
igniteInstanceName
- Ignite instance name.threadName
- Thread name.eHnd
- Uncaught exception handler.
-
IgniteThreadFactory
public IgniteThreadFactory(String igniteInstanceName, String threadName, byte plc, Thread.UncaughtExceptionHandler eHnd)
Constructs new thread factory for given grid. All threads will belong to the same default thread group.- Parameters:
igniteInstanceName
- Ignite instance name.threadName
- Thread name.plc
-GridIoPolicy
for thread pool.eHnd
- Uncaught exception handler.
-
-