public final class JobEndWatcher
extends java.lang.Thread
Modifier and Type | Method and Description |
---|---|
void |
addJobEndListener(JobEndListener jobEndListener)
add a listener
|
static JobEndWatcher |
init(java.lang.String namespace,
java.lang.String jobID) |
void |
run()
start the watcher
|
void |
stopWatcher() |
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, yield
public static JobEndWatcher init(java.lang.String namespace, java.lang.String jobID)
public void addJobEndListener(JobEndListener jobEndListener)
jobEndListener
- public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void stopWatcher()