def start(self): """Causes the reporting subsystem and any drivers to be started """ map(lambda x: x.start(), self.drivers.itervalues()) # set all checkers that loader has hooked in to be run on the # given interval checkstarter = lambda period, checker: util.periodicCallInThread(checker).start(period) for args in self.checkers: # wait 300 seconds to start each checker, to prevent startup lag from # throwing off the checkers reactor.callLater(2, checkstarter, *args)
def start(self): """Causes the reporting subsystem and any drivers to be started """ map(lambda x: x.start(), self.drivers.itervalues()) # set all checkers that loader has hooked in to be run on the # given interval checkstarter = lambda period, checker: util.periodicCallInThread( checker).start(period) for args in self.checkers: # wait 300 seconds to start each checker, to prevent startup lag from # throwing off the checkers reactor.callLater(2, checkstarter, *args)
def start(self): util.periodicCallInThread(self.update).start(self.rate)