c.l.l.ExpireAliases : class documentation

Part of canonical.librarian.librariangc View In Hierarchy

Implements interfaces: canonical.launchpad.interfaces.looptuner.ITunableLoop

Expire expired LibraryFileAlias records.

This simply involves setting the LibraryFileAlias.content to NULL. Unreferenced LibraryFileContent records are cleaned up elsewhere.

Method __init__ Undocumented
Method isDone Is this loop finished?
Method __call__ Perform an iteration of the loop.
def __init__(self, con):
Undocumented
def isDone(self):
Is this loop finished?

Once this returns True, the LoopTuner will no longer touch this object.

def __call__(self, chunksize):
Perform an iteration of the loop.

The chunk_size parameter says (in some way you define) how much work the LoopTuner believes you should try to do in this iteration in order to get as close as possible to your time goal.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.