public final class ProcessMonitor
extends java.lang.Thread
| Modifier and Type | Method and Description |
|---|---|
static ProcessMonitor |
currentMonitor()
return the current monitor
|
void |
deregister(ProcessHandler handler)
deregister this handler
|
void |
register(ProcessHandler handler)
register this handler
|
void |
run()
run never stop.
|
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static ProcessMonitor currentMonitor()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void register(ProcessHandler handler)
handler - hander to be registeredpublic void deregister(ProcessHandler handler)
handler - hander to be deregisteredstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.