Interface TimeoutObserver

All Superinterfaces:
Consumer<Watchdog>
All Known Implementing Classes:
ExecuteWatchdog

public interface TimeoutObserver extends Consumer<Watchdog>
Interface for classes that want to be notified by Watchdog.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    void
    Called when the watchdog times out.

    Methods inherited from interface Consumer

    andThen
  • Method Details

    • accept

      default void accept(Watchdog w)
      Specified by:
      accept in interface Consumer<Watchdog>
      Since:
      1.6.0
    • timeoutOccured

      void timeoutOccured(Watchdog w)
      Called when the watchdog times out.
      Parameters:
      w - the watchdog that timed out.