@FunctionalInterface
public interface TimerTaskListener
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.
Modifier and Type | Method and Description |
---|---|
void |
handleTimeout(TimerEvent task)
This method is called when the
TimerTask has expired. |
void handleTimeout(TimerEvent task)
TimerTask
has expired.task
- the timer event (the event source is the
TimerTask
object).Copyright © 2001 - 2024. Charles W. Rapp. All rights reserved.