Package bazaar :: Module cache :: Class Cache
[show private | hide private]
[frames | no frames]

Class Cache

Known Subclasses:
Full, Lazy

Abstract, basic class for different data caches.
Method Summary
  __init__(self, owner)
Create cache object.
  __getitem__(self, param)
Return referenced object or association data.
  load(self, key)
Load referenced objects or association data from database.

Instance Variable Summary
  owner: Owner of the cache - object broker or association object.

Method Details

__init__(self, owner)
(Constructor)

Create cache object.
Parameters:
owner - Owner of the cache - object broker or association object.

__getitem__(self, param)
(Indexing operator)

Return referenced object or association data.
Parameters:
param - Referenced object primary key value or application object.

load(self, key)

Load referenced objects or association data from database.

Instance Variable Details

owner

Owner of the cache - object broker or association object.

Generated by Epydoc 2.0 on Tue Mar 23 14:53:30 2004 http://epydoc.sf.net