GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.thread
Class GridThreadFactory

java.lang.Object
  extended by 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.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

 

Constructor Summary
GridThreadFactory(String gridName)
          Constructs new thread factory for given grid.
 
Method Summary
 Thread newThread(Runnable r)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

newThread

public Thread newThread(Runnable r)

Specified by:
newThread in interface ThreadFactory

GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.