PersistentScheduler

Persistent event scheduler for low-frequency events.

Any outstanding events that should have fired during a down-time will be triggered once the corresponding handler has been registered. Repeated events will only be fired once, though. So after a down-time of three days, a daily event will only be triggered a single time instead of three times.

Constructors

this
this(Path persistent_file)
Undocumented in source.

Members

Enums

EventKind
enum EventKind
Undocumented in source.

Functions

deleteEvent
void deleteEvent(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
existsEvent
bool existsEvent(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
scheduleDailyEvent
void scheduleDailyEvent(string name, SysTime first_time)
Undocumented in source. Be warned that the author may not have intended to support it.
scheduleEvent
void scheduleEvent(string name, SysTime time)
Undocumented in source. Be warned that the author may not have intended to support it.
scheduleEvent
void scheduleEvent(string name, SysTime first_time, Duration repeat_period)
Undocumented in source. Be warned that the author may not have intended to support it.
scheduleEvent
void scheduleEvent(string name, EventKind kind, SysTime first_time, Duration repeat_period)
Undocumented in source. Be warned that the author may not have intended to support it.
scheduleMonthlyEvent
void scheduleMonthlyEvent(string name, SysTime first_time)
Undocumented in source. Be warned that the author may not have intended to support it.
scheduleWeeklyEvent
void scheduleWeeklyEvent(string name, SysTime first_time)
Undocumented in source. Be warned that the author may not have intended to support it.
scheduleYearlyEvent
void scheduleYearlyEvent(string name, SysTime first_time)
Undocumented in source. Be warned that the author may not have intended to support it.
setEventHandler
void setEventHandler(string name, void delegate() handler)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Event
struct Event
Undocumented in source.

Meta