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 of ExecuteWatchdog
- See Also:
ExecuteWatchdog
Constructor Summary |
Watchdog(long timeout)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Watchdog
public Watchdog(long timeout)
addTimeoutObserver
public void addTimeoutObserver(TimeoutObserver to)
removeTimeoutObserver
public void removeTimeoutObserver(TimeoutObserver to)
fireTimeoutOccured
protected final void fireTimeoutOccured()
start
public void start()
stop
public void stop()
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.