Home | Trees | Indices | Help |
---|
|
object --+ | Cache --+ | FunctionCache
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
|
|||
Inherited from |
|
Builds a cache with a limit of max_size entries. If this limit is exceeded, the Least Recently Used entry is discarded. if max_size==0, the cache is unbounded (no LRU rule is applied).
|
Override this method to check whether the entry with the given name is stale. Return None if it is fresh or an opened resource if it is stale. The object returned will be passed to the 'build' method as the 'opened' parameter. Use the 'entry' parameter to store meta-data if required. Don't worry about multiple threads accessing the same name, as this method is properly isolated.
|
Build the cached value with the given name from the given opened resource. Use entry to obtain or store meta-data if needed. Don't worry about multiple threads accessing the same name, as this method is properly isolated.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:22 2012 | http://epydoc.sourceforge.net |