l.c.p.s.JobScheduler : class documentation

Part of lp.codehosting.puller.scheduler View In Hierarchy

Schedule and manage the mirroring of branches.

The jobmanager is responsible for organizing the mirroring of all branches.

Method __init__ Undocumented
Method run Undocumented
Method lock Undocumented
Method unlock Undocumented
Method recordActivity Record successful completion of the script.
Method _turnJobTupleIntoTask Turn the return value of acquireBranchToPull into a job.
Method _poll Undocumented
Method _finishedRunning Undocumented
def __init__(self, codehosting_endpoint, logger, branch_type_names):
Undocumented
def _turnJobTupleIntoTask(self, job_tuple):
Turn the return value of acquireBranchToPull into a job.

IBranchPuller.acquireBranchToPull returns either an empty tuple (indicating there are no branches to pull currently) or a tuple of 6 arguments, which are more or less those needed to construct a PullerMaster object.

def _poll(self):
Undocumented
def run(self):
Undocumented
def _finishedRunning(self, ignored):
Undocumented
def lock(self):
Undocumented
def unlock(self):
Undocumented
def recordActivity(self, date_started, date_completed):
Record successful completion of the script.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.