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.

    @Deprecated
    @FunctionalInterface
    public interface TimerTaskListener
    Deprecated.
    Will remove in future releases. Please see net.sf.eBus.client.EScheduledExecutor.
    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)
        Deprecated.
        This method is called when the TimerTask has expired.
        Parameters:
        task - the timer event (the event source is the TimerTask object).