|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.gridgain.grid.thread.GridThread
public class GridThread
This class adds some necessary plumbing on top of the Thread class.
Specifically, it adds:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0
![]() |
![]() |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static ThreadGroup |
DFLT_GRP
Default thread's group. |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
GridThread(String poolName,
Runnable r)
Creates thread with given name. |
|
GridThread(String gridName,
String threadName,
Runnable r)
Creates grid thread with given name for a given grid. |
|
GridThread(ThreadGroup parent,
String gridName,
String threadName,
Runnable r)
Creates grid thread with given name for a given grid with specified thread group. |
|
| Method Summary | |
|---|---|
void |
interrupt()
|
boolean |
isInterrupted()
|
String |
toString()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ThreadGroup DFLT_GRP
| Constructor Detail |
|---|
public GridThread(String poolName,
Runnable r)
poolName - Thread's pool name.r - Runnable to run.
public GridThread(String gridName,
String threadName,
Runnable r)
gridName - Name of grid this thread is created for.threadName - Name of thread.r - Runnable to execute.
public GridThread(ThreadGroup parent,
String gridName,
String threadName,
Runnable r)
parent - Parent thread group.gridName - Name of grid this thread is created for.threadName - Name of thread.r - Runnable to execute.| Method Detail |
|---|
public boolean isInterrupted()
isInterrupted in class Threadpublic void interrupt()
interrupt in class Threadpublic String toString()
toString in class Thread
|
GridGain 2.1.0
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|
|