Package org.apache.commons.exec
Class Watchdog
- java.lang.Object
-
- org.apache.commons.exec.Watchdog
-
- All Implemented Interfaces:
java.lang.Runnable
public class Watchdog extends java.lang.Object implements java.lang.Runnable
Generalization ofExecuteWatchdog
- See Also:
ExecuteWatchdog
-
-
Constructor Summary
Constructors Constructor Description Watchdog(long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTimeoutObserver(TimeoutObserver to)
void
removeTimeoutObserver(TimeoutObserver to)
void
run()
void
start()
void
stop()
-
-
-
Method Detail
-
addTimeoutObserver
public void addTimeoutObserver(TimeoutObserver to)
-
removeTimeoutObserver
public void removeTimeoutObserver(TimeoutObserver to)
-
start
public void start()
-
stop
public void stop()
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-