public class Fabric3Thread
extends java.lang.Thread
| Constructor and Description |
|---|
Fabric3Thread(java.lang.ThreadGroup group,
java.lang.Runnable target,
java.lang.String name,
long stackSize) |
| Modifier and Type | Method and Description |
|---|---|
Message |
getMessage()
Returns the message associated with the thread or null if one has not be assigned.
|
WorkContext |
getWorkContext()
Returns the work context associated with the thread or null if one has not be assigned.
|
void |
setMessage(Message message)
Associates a message with the thread.
|
void |
setWorkContext(WorkContext workContext)
Associates a work context with the thread.
|
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, toString, yieldpublic Fabric3Thread(java.lang.ThreadGroup group,
java.lang.Runnable target,
java.lang.String name,
long stackSize)
public Message getMessage()
public void setMessage(Message message)
message - the messagepublic WorkContext getWorkContext()
public void setWorkContext(WorkContext workContext)
workContext - the work context