Package cherrypy :: Package lib :: Module caching :: Class MemoryCache
[hide private]
[frames] | no frames]

Class MemoryCache

source code

Instance Methods [hide private]
 
__init__(self) source code
 
clear(self)
Reset the cache to its initial, empty state.
source code
 
key(self) source code
 
expire_cache(self) source code
 
get(self)
Return the object if in the cache, else None.
source code
 
put(self, obj) source code
 
delete(self) source code
Class Variables [hide private]
  maxobjects = 1000
  maxobj_size = 100000
  maxsize = 10000000
  delay = 600