Interface TimerTaskListener

  • All Known Implementing Classes:
    CalendarFileHandler, StatusReport
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface TimerTaskListener
    Classes using TimerTask should implement this interface. It allows them to receive timer expiration notifications.

    As of eBus v. 4.2.0, this interface is marked as @FunctionalInterface. This allows this interface to be defined using a lambda expression.

    Author:
    Charles Rapp
    • Method Detail

      • handleTimeout

        void handleTimeout​(TimerEvent task)
        This method is called when the TimerTask has expired.
        Parameters:
        task - the timer event (the event source is the TimerTask object).