l.s.j.r.BaseJobRunner(LazrJobRunner) : class documentation

Part of lp.services.job.runner View In Hierarchy

Known subclasses: lp.services.job.runner.JobRunner, lp.services.job.runner.TwistedJobRunner

Runner of Jobs.
Method __init__ Undocumented
Method acquireLease Undocumented
Method runJob Undocumented
Method runJobHandleError Undocumented
Method userErrorTypes Undocumented
Method retryErrorTypes Undocumented
Method _doOops Report an OOPS for the provided job and info.
Method _logOopsId Report oopses by id to the log.
def __init__(self, logger=None, error_utility=None):
def acquireLease(self, job):
def runJob(self, job, fallback):
def runJobHandleError(self, job, fallback=None):
def userErrorTypes(self, job):
def retryErrorTypes(self, job):
def _doOops(self, job, info):
Report an OOPS for the provided job and info.
ParametersjobThe IRunnableJob whose run failed.
infoThe standard sys.exc_info() value.
Returnsthe Oops that was reported.
def _logOopsId(self, oops_id):
Report oopses by id to the log.
API Documentation for Launchpad, generated by pydoctor at 2019-06-26 00:00:07.