l.s.d.s.StupidCache : class documentation

Part of lp.services.database.sqlbase View In Hierarchy

A Storm cache that never evicts objects except on clear().

This class is basically equivalent to Storm's standard Cache class with a very large size but without the overhead of maintaining the LRU list.

This provides caching behaviour equivalent to what we were using under SQLObject.

Method __init__ Undocumented
Method clear Undocumented
Method add Undocumented
Method remove Undocumented
Method set_size Undocumented
Method get_cached Undocumented
def __init__(self, size):
Undocumented
def clear(self):
Undocumented
def add(self, obj_info):
Undocumented
def remove(self, obj_info):
Undocumented
def set_size(self, size):
Undocumented
def get_cached(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2020-07-02 00:00:07.