cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Borut BolĨina" <borut.bolc...@gmail.com>
Subject Re: Caching query results
Date Sun, 24 Aug 2008 15:54:36 GMT
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 <andrus@objectstyle.org>

>
> 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).
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message