Package org.baseagent.schedule
Class RecurringEvent
java.lang.Object
org.baseagent.schedule.ScheduledEvent
org.baseagent.schedule.RecurringEvent
-
Constructor Summary
ConstructorDescriptionRecurringEvent
(long offsetFromZero, long interval, Consumer<Simulation> thingToDo) RecurringEvent
(long interval, Consumer<Simulation> thingToDo) -
Method Summary
Methods inherited from class org.baseagent.schedule.ScheduledEvent
execute
-
Constructor Details
-
RecurringEvent
-
RecurringEvent
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classScheduledEvent
-
removeWhenDone
public boolean removeWhenDone()- Specified by:
removeWhenDone
in classScheduledEvent
-