org.gridgain.grid.thread
Class GridThreadFactory
java.lang.Object
org.gridgain.grid.thread.GridThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class GridThreadFactory
- extends Object
- implements ThreadFactory
This class provides implementation of ThreadFactory factory
for creating grid threads.
-

| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GridThreadFactory
public GridThreadFactory(String gridName)
- Constructs new thread factory for given grid. All threads will belong
to the same default thread group.
- Parameters:
gridName - Grid name.
newThread
public Thread newThread(Runnable r)
-
- Specified by:
newThread in interface ThreadFactory