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):
Undocumented
def acquireLease(self, job):
Undocumented
def runJob(self, job, fallback):
Undocumented
def runJobHandleError(self, job, fallback=None):
Undocumented
def userErrorTypes(self, job):
Undocumented
def retryErrorTypes(self, job):
Undocumented
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-04-24 00:00:10.