Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)`

Method Summary
`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 `Runnable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.