Cheetah :: CacheRegion :: CacheItem :: Class CacheItem
[hide private]
[frames] | no frames]

Class CacheItem



A CacheItem is a container storing:

- cacheID (string)
- refreshTime (timestamp or None) : last time the cache was refreshed
- data (string) : the content of the cache



Instance Methods [hide private]
 
__init__(self, cacheItemID, cacheStore)
 
clear(self)
 
getData(self)
 
getExpiryTime(self)
 
getRefreshTime(self)
 
hasExpired(self)
 
renderOutput(self)
Can be overridden to implement edge-caching
 
setData(self, data)
 
setExpiryTime(self, time)