public class IgniteThread extends Thread
Thread class.
Specifically, it adds:
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
IgniteThread(GridWorker worker)
Creates thread with given worker.
|
IgniteThread(String gridName,
String threadName,
Runnable r)
Creates grid thread with given name for a given grid.
|
IgniteThread(ThreadGroup grp,
String gridName,
String threadName,
Runnable r)
Creates grid thread with given name for a given grid with specified
thread group.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
processingMessage() |
void |
processingMessage(boolean procMsg) |
String |
toString() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yieldpublic IgniteThread(GridWorker worker)
worker - Runnable to create thread with.public IgniteThread(String gridName, String threadName, Runnable r)
gridName - Name of grid this thread is created for.threadName - Name of thread.r - Runnable to execute.public IgniteThread(ThreadGroup grp, String gridName, String threadName, Runnable r)
grp - Thread group.gridName - Name of grid this thread is created for.threadName - Name of thread.r - Runnable to execute.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015