| Trees | Index | Help |
|
|---|
| Package Products :: Package ZenUtils :: Module ObjectCache :: Class ObjectCache |
|
object--+ |Base--+ |object--+ | | |Persistent--+ |Persistent--+ | ObjectCache
EventManagerBase| Method Summary | |
|---|---|
__init__(self,
timeout,
clearthresh)
| |
add an object to the cache | |
check to see if key is in cache return None if not | |
clean the cache if nessesary | |
Clear the cache. | |
getCache(self)
| |
return cache clearthresh | |
return cache timeout | |
make sure that volitile attributes exist | |
Inherited from Persistent:
__class_init__,
__getattribute__,
bobobase_modification_time,
locked_in_version,
modified_in_version
Inherited from Persistent:
__delattr__,
__getstate__,
__new__,
__reduce__,
__setattr__,
__setstate__
Inherited from Base:
__getnewargs__
Inherited from object:
__hash__,
__reduce_ex__,
__repr__,
__str__
| |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = (('View', ('getCacheClearthresh', '...
|
DTMLFile |
editCache = <App.special_dtml.DTMLFile object at 0x2d054...
|
PermissionRole |
getCacheClearthresh__roles__ = <PermissionRole object at...
|
PermissionRole |
getCacheTimeout__roles__ = <PermissionRole object at 0x1...
|
tuple |
manage_options = ({'action': 'editCache', 'label': 'Cach...
|
| Method Details |
|---|
addToCache(self, key, obj)add an object to the cache |
checkCache(self, key)check to see if key is in cache return None if not |
cleanCache(self, force=0)clean the cache if nessesary |
clearCache(self, key=None)Clear the cache. |
getCacheClearthresh(self)return cache clearthresh |
getCacheTimeout(self)return cache timeout |
initCache(self)make sure that volitile attributes exist |
| Class Variable Details |
|---|
__ac_permissions__
|
editCache
|
getCacheClearthresh__roles__
|
getCacheTimeout__roles__
|
manage_options
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 | http://epydoc.sf.net |