java.lang.Runnable
public class CMFactoryThread
extends java.lang.Thread
Constructor | Description |
---|---|
CMFactoryThread(java.lang.ThreadGroup group,
java.lang.Runnable runnable,
java.lang.String name) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Runnable |
getRunnable() |
Returns the runnable currently running
if available
|
void |
setRunnable(java.lang.Runnable runnable) |
Sets the runnable currently running
if available
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public CMFactoryThread(java.lang.ThreadGroup group, java.lang.Runnable runnable, java.lang.String name)
public void setRunnable(java.lang.Runnable runnable)
runnable
- the runnable runningpublic java.lang.Runnable getRunnable()