Exemple #1
0
 def _start_pool(self):
     ''' start the pool and then prime the events '''
     IncidentPoolEventCheckpoint._start_pool(self)
     # Prime the pool with the events moved forward
     pool = self.get_pool()
     for event in pool.moved_forward:
         self.ruleset.prime_event(event, pool)
     return
Exemple #2
0
 def __init__(self, name, ruleset, msg_target=None):
     IncidentPoolEventCheckpoint.__init__(self, name, msg_target)
     self.ruleset = ruleset
     return