|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.gvsig.tools.task.AbstractCancellableTask org.gvsig.tools.task.AbstractMonitorableTask
public class AbstractMonitorableTask
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected SimpleTaskStatus |
taskStatus
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
protected |
AbstractMonitorableTask(String taskName)
|
Method Summary | |
---|---|
void |
cancelRequest()
Request to the task that cancel. |
TaskStatus |
getTaskStatus()
|
Methods inherited from class org.gvsig.tools.task.AbstractCancellableTask |
---|
isCancellationRequested |
Methods inherited from class java.lang.Thread |
---|
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.gvsig.tools.task.CancellableTask |
---|
isCancellationRequested |
Field Detail |
---|
protected SimpleTaskStatus taskStatus
Constructor Detail |
---|
protected AbstractMonitorableTask(String taskName)
Method Detail |
---|
public TaskStatus getTaskStatus()
getTaskStatus
in interface MonitorableTask
public void cancelRequest()
CancellableTask
cancelRequest
in interface CancellableTask
cancelRequest
in class AbstractCancellableTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |