|
|||
|
Periodic Object Patterns?
I'm looking for someone to point me in the right direction here.
I'm developing a system that contains objects that are scheduled to run repeatedly over many months. The scheduled objects generally either create messages or create files. I'm looking to decouple the elements of the objects that are involved in scheduling with the actual tasks of creating messages or files. Currently I've defined the following elements which are common to all scheduled (periodic objects): id, // a unique identifier type, // the type of scheduled object runcount, // how many times the scheduled object has run nextruntime, // the time that the scheduled object should run next initialstarttime, // the first time the scheduled object ran priority Surely there must be some scheduling or periodic object type patterns out there?? |
| Sponsored Links |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|