FileDocCategorySizeDatePackage
Watchdog.javaAPI DocApache James 2.3.11926Fri Jan 12 12:56:34 GMT 2007org.apache.james.util.watchdog

Watchdog

public interface Watchdog
This interface represents an abstract watchdog process that serves to monitor a situation and triggers an action under an implementation-specific trigger condition.

Fields Summary
Constructors Summary
Methods Summary
public voidreset()
Reset this Watchdog. Resets any conditions in the implementations (time to expiration, etc.) to their original values

public voidstart()
Start this Watchdog, causing it to begin monitoring. The Watchdog can be stopped and restarted.

public voidstop()
Stop this Watchdog, terminating the monitoring condition. The monitor can be restarted with a call to startWatchdog.