public static class PepperUtil.PepperJobReporter extends Thread
PepperJob object, until
#setStop(Boolean#TRUE) was called.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PepperJobReporter(PepperJob pepperJob)
Sets the
PepperJob object, which is observed |
PepperJobReporter(PepperJob pepperJob,
int interval)
Sets the
PepperJob object, which is observed |
| Modifier and Type | Method and Description |
|---|---|
int |
getInterval()
Returns the interval in which the status is printed
|
PepperJob |
getPepperJob()
Returns the
PepperJob object, which is observed |
boolean |
isStop()
Returns, if
PepperJob still has to be observed |
void |
run() |
void |
setStop(boolean stop)
Sets if
PepperJob still has to be observed |
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 PepperJobReporter(PepperJob pepperJob, int interval)
PepperJob object, which is observedpepperJob - the job to observeinterval - the interval in which the status is printedpublic int getInterval()
public PepperJob getPepperJob()
PepperJob object, which is observedpublic boolean isStop()
PepperJob still has to be observedpublic void setStop(boolean stop)
PepperJob still has to be observedstop - Copyright © 2009–2021 Humboldt-Universität zu Berlin, INRIA. All rights reserved.