public class JobLogger extends java.lang.Thread implements JobEndListener
Constructor and Description |
---|
JobLogger(java.lang.String namespace,
JobAPI.Job job) |
Modifier and Type | Method and Description |
---|---|
void |
jobEnded()
this method is called when the job has ended
|
void |
run() |
void |
workerLoggerCompleted(java.lang.String loggerID)
worker loggers let JobLogger know that they completed
|
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 void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void workerLoggerCompleted(java.lang.String loggerID)
public void jobEnded()
JobEndListener
jobEnded
in interface JobEndListener