| Home | Trees | Index | Help |
|
|---|
| Package Pyblosxom :: Package cache :: Module entryshelve :: Class BlosxomCache |
|
BlosxomCacheBase --+
|
BlosxomCache
| Method Summary | |
|---|---|
Constructor - setup and load up the cache | |
Close your cache if necessary. | |
Get data from shelve | |
| boolean |
Returns 0 or 1 based on whether there is cached data, returns 0 is cache data is stale |
List out a list of keys for the cache, to be overridden by a subclass if a full dict interface is required. | |
Try to load up the cache with entryid (a unique key for the entry) | |
Remove cache entry: This is not used by pyblosxom, but used by utilities | |
Save data in the pickled file | |
| Inherited from BlosxomCacheBase | |
| |
Convenience function to make this class look like a dict | |
Synonymous to saveEntry | |
| |
| |
| Instance Variable Summary | |
|---|---|
| Inherited from BlosxomCacheBase | |
| string | _config: String containing config on where to store the cache. |
| Method Details |
|---|
__init__(self,
req,
config)
Constructor - setup and load up the cache
|
close(self)Close your cache if necessary.
|
getEntry(self)Get data from shelve |
isCached(self)Returns 0 or 1 based on whether there is cached data, returns 0 is cache data is stale
|
keys(self)List out a list of keys for the cache, to be overridden by a subclass if a full dict interface is required.
|
load(self, entryid)Try to load up the cache with entryid (a unique key for the entry)
|
rmEntry(self)Remove cache entry: This is not used by pyblosxom, but used by utilities
|
saveEntry(self, entrydata)Save data in the pickled file |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue Feb 7 21:43:58 2006 | http://epydoc.sf.net |