Package Products :: Package ZenUtils :: Module ObjectCache :: Class ObjectCache |
[hide private]
[frames] | no frames]

# Class ObjectCache

source code

    Globals.Persistent --+
                         |
                        ObjectCache

Instance Methods | [hide private]
__init__(self, timeout=20, clearthresh=20) | source code
initCache(self) make sure that volitile attributes exist | source code
checkCache(self, key) check to see if key is in cache return None if not | source code
addToCache(self, key, obj) add an object to the cache | source code
clearCache(self, key=None) Clear the cache. | source code
cleanCache(self, force=0) clean the cache if nessesary | source code
getCache(self) | source code
getCacheTimeout(self) return cache timeout | source code
getCacheClearthresh(self) return cache clearthresh | source code

Class Variables | [hide private]
| editCache = `DTMLFile('dtml/editCache', globals())`
| manage_options = `{'label': 'Cache', 'action': 'editCache'},`
| security = `ClassSecurityInfo()`