I think the answer is still no, there's no better docs yet. sorry.

Andrus


On Aug 24, 2008, at 7:00 PM, Borut Bolčina wrote:
Hi,

there is still no info/examples about OSCache usage at
http://cayenne.apache.org/doc/caching-and-fresh-data.html. Is there anything
in the oven?

Cheers,
Borut

2006/9/25 Andrus Adamchik <[EMAIL PROTECTED]>

Until 3.0 invalidating query lists was totally up to the developer.

In 3.0 we added three things - RefreshQuery (mentioned by Ari), "query cache group" concept, and pluggable QueryCache. This makes clustering and refresh policy management much simpler. I am running this latest code (3.0
trunk essentially) in pre-production environment on a cluster using
OSQueryCache and it work extremely well.

I am going to document it better at some point (maybe even write an
article). For now please post on the list if you have more questions about
that. Essentially I do something like this:

dataDomain.setQueryCacheFactory(new OSQueryCacheFactory());

and then configure "oscache.properties" with group refresh policies (see OSQueryCache javadocs and OSCache framework documentation for details).



Reply via email to