Watchdog
Date: 2017-01-22

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 of `ExecuteWatchdog`
  See Also:
    `ExecuteWatchdog`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Watchdog(long timeout)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addTimeoutObserver(TimeoutObserver to)`
    `protected void` | `fireTimeoutOccured()`
    `void` | `removeTimeoutObserver(TimeoutObserver to)`
    `void` | `run()`
    `void` | `start()`
    `void` | `stop()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Watchdog

          public Watchdog(long timeout)

  - ### Method Detail

    - #### 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 `java.lang.Runnable`