l.b.s.b.BugTaskTargetNameCachesTunableLoop(object) : class documentation

Part of lp.bugs.scripts.bugtasktargetnamecaches View In Hierarchy

An ITunableLoop for updating BugTask targetname caches.
Method __init__ Undocumented
Method determineCandidates Find all distinct BugTask targets with their cached names.
Method isDone See ITunableLoop.
Method __call__ Take a batch of targets and update their BugTasks' name caches.
def __init__(self, transaction, logger, offset=0):
Undocumented
def determineCandidates(self):
Find all distinct BugTask targets with their cached names.

Returns a list of (target, set_of_cached_names) pairs, where target is a tuple of IDs from the columns in target_columns.

def isDone(self):
See ITunableLoop.
def __call__(self, chunk_size):
Take a batch of targets and update their BugTasks' name caches.

See ITunableLoop.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.