Transaction bound cache

Christian Zagrodnick <[email protected]>
Newsgroups gmane.comp.web.zope.zope3
Message-ID <[email protected]>
Hi

i've got a very simple transaction bound cache implementation. That is 
the cache gets invalidated on transaction end.

It's used like this:

class Foo(object):

   data = TransactionBoundCache('_v_store_it_here', dict)

where `dict` is the cache factory.


Shall I add this to zope.cachedescriptors?

-- 
Christian Zagrodnick

gocept gmbh & co. kg  ·  forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.