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

Class Cache

source code

object --+
         |
        Cache
Known Subclasses:

Base class for Cache implementations.

Instance Methods [hide private]
 
get(self)
Return the current variant if in the cache, else None.
source code
 
put(self, obj, size)
Store the current variant in the cache.
source code
 
delete(self)
Remove ALL cached variants of the current resource.
source code
 
clear(self)
Reset the cache to its initial, empty state.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__