- All Known Subinterfaces:
Timer
- All Known Implementing Classes:
AbstractTimer,AgentTimer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function to invoke at a scheduled time. Use
Schedule.setTimer(long, TimerFunction) to schedule a TimerFunction for future execution.-
Method Summary
Modifier and TypeMethodDescriptionvoidrunTimer()Executes scheduled logic when this timer fires.
-
Method Details
-
runTimer
void runTimer()Executes scheduled logic when this timer fires.
-