Package net.sf.eBus.util
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 usingTimerTaskshould 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleTimeout(TimerEvent task)This method is called when theTimerTaskhas expired.
-
-
-
Method Detail
-
handleTimeout
void handleTimeout(TimerEvent task)
This method is called when theTimerTaskhas expired.- Parameters:
task- the timer event (the event source is theTimerTaskobject).
-
-