Class f.l.l.L.LoadQueue(ObjRegistry):

Part of fixture.loadable.loadable.LoadableFixture View In Hierarchy

Keeps track of what class instances were loaded.

"level" is used like so:

The lower the level, the lower that object is on the foreign key chain. As the level increases, this means more foreign objects depend on the local object. Thus, objects need to be unloaded starting at the lowest level and working up. Also, since objects can appear multiple times in foreign key chains, the queue only acknowledges the object at its highest level, since this will ensure all dependencies get unloaded before it.

Method __init__ Undocumented
Method __repr__ Undocumented
Method _pushid Undocumented
Method clear Undocumented
Method register register this object as "loaded" at level
Method referenced tell the queue that this object was referenced again at level.
Method to_unload yields a list of objects suitable for unloading.

Inherited from ObjRegistry:

Method __getitem__ Undocumented
Method __contains__ Undocumented
Method has Undocumented
Method id Undocumented
def __init__(self):
Undocumented
def __repr__(self):
Undocumented
def _pushid(self, id, level):
Undocumented
def clear(self):
Undocumented
def register(self, obj, level):
register this object as "loaded" at level
def referenced(self, obj, level):
tell the queue that this object was referenced again at level.
def to_unload(self):
yields a list of objects suitable for unloading.
API Documentation for fixture, generated by pydoctor.