Package org.apache.commons.exec
Class Watchdog
- java.lang.Object
-
- org.apache.commons.exec.Watchdog
-
- All Implemented Interfaces:
Runnable
public class Watchdog extends Object implements 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()
-
-