-
- All Known Subinterfaces:
Timer
- All Known Implementing Classes:
AbstractTimer
,AgentTimer
public interface TimerFunction
Function to invoke at a scheduled time. UseSchedule.setTimer(long, TimerFunction)
to schedule aTimerFunction
for future execution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
runTimer()
Executes scheduled logic when this timer fires.
-