de.cau.cs.kieler.sim.kiem.automated.execution
Class CancelManager.MonitorChecker
java.lang.Object
java.lang.Thread
de.cau.cs.kieler.sim.kiem.automated.execution.CancelManager.MonitorChecker
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- CancelManager
public static class CancelManager.MonitorChecker
- extends Thread
This thread checks whether the user canceled the monitor while a step was
being processed. As soon as the user cancels the monitor it notifies the
main thread to come out of sleep which will then start the process of
deferred cancellation.
- Rating

- (2010-02-02)
Method Summary |
void |
cancel()
Deferred cancellation of this thread. |
void |
reset()
Reset the timer for measuring the timeout. |
void |
run()
When an object implementing interface Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
Methods inherited from class java.lang.Thread |
currentThread, getName, getPriority, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, setDaemon, setName, setPriority, sleep, start, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CancelManager.MonitorChecker
public CancelManager.MonitorChecker()
run
public void run()
- When an object implementing interface
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
cancel
public void cancel()
- Deferred cancellation of this thread.
reset
public void reset()
- Reset the timer for measuring the timeout.