Package org.apache.commons.exec
Interface TimeoutObserver
-
- All Superinterfaces:
java.util.function.Consumer<Watchdog>
- All Known Implementing Classes:
ExecuteWatchdog
public interface TimeoutObserver extends java.util.function.Consumer<Watchdog>
Interface for classes that want to be notified by Watchdog.- See Also:
Watchdog
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaccept(Watchdog w)voidtimeoutOccured(Watchdog w)Called when the watchdog times out.
-