On Thu, Aug 12, 2010 at 6:10 PM, Jamu Kakar <[email protected]> wrote:>>
I'm working on an automatic invalidation facility for our model
>> classes, so that they will invalidate when storm invalidates an
>> object.
>
> If you provide a __storm_invalidated__ method (taking no parameters)
> on your Storm objects it will be invoked when Storm invalidates the
> object.  We use this in Landscape all over the place to invalidate
> model-level caches and it's been working well for us.

Thanks, yes that was the hook I was planning on using. I've glued it
and cacheproperty together:

https://code.edge.launchpad.net/~lifeless/launchpad/cachedproperty/+merge/32728

-Rob

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to