c.l.l.UnreferencedContentPruner : class documentation

Part of canonical.librarian.librariangc View In Hierarchy

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

Delete LibraryFileContent entries and their disk files that are not referenced by any LibraryFileAlias entries.

Note that a LibraryFileContent can only be accessed through a LibraryFileAlias, so all entries in this state are garbage no matter what their expires flag says.

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.