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:
  • Constructor Details

    • Watchdog

      public Watchdog(long timeout)
  • Method Details

    • 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 interface Runnable