On Nov 9, 2017, at 10:45 AM, Andrus Adamchik
> wrote:
> >
> > "Cooperating" cache with shared cache groups decreases *average* DB load
> and improves performance on *average*. The assumption is that the app can
> afford to execute each individual DB query in isolation,
-ObjectContext
caches and cache group refreshing.
Andrus
> On Nov 9, 2017, at 10:45 AM, Andrus Adamchik wrote:
>
> "Cooperating" cache with shared cache groups decreases *average* DB load and
> improves performance on *average*. The assumption is that the app can aff
"Cooperating" cache with shared cache groups decreases *average* DB load and
improves performance on *average*. The assumption is that the app can afford to
execute each individual DB query in isolation, and is mostly concerned with
overall load. If you have multiple queries withi
; props.put( Constants.SERVER_CONTEXTS_SYNC_PROPERTY,
> > "false" );
> > }
> > };
> >
> > Maik
> >
> >
> > > Am 08.11.2017 um 01:40 schrieb Lon Varscsak :
> > >
> > > Hey all,
> > >
> > &g
t;false" );
> }
> };
>
> Maik
>
>
> > Am 08.11.2017 um 01:40 schrieb Lon Varscsak :
> >
> > Hey all,
> >
> > I’ve been using cache groups to do refreshing of object lists and it
> > occurred to me today that this refresh is across a
ES_MAP );
props.put( Constants.SERVER_CONTEXTS_SYNC_PROPERTY, "false" );
}
};
Maik
> Am 08.11.2017 um 01:40 schrieb Lon Varscsak :
>
> Hey all,
>
> I’ve been using cache groups to do refreshing of object lists and it
> occurred to me today that this ref
Hey all,
I’ve been using cache groups to do refreshing of object lists and it
occurred to me today that this refresh is across all object contexts in my
application. So if User A has a list of orders for their account and that
is cached with the group “orderHistory” and User B also has a list of
st come across in relation to
cache grouping and to continue on Bob's thread "Removing Cayenne
cache
groups" I have the following two test cases.
@SuppressWarnings("unchecked")
public void testBasicSelectQueryWithoutDaoWithSharedCache() {
QueryCache domainCache
10 at 10:44 PM, Gary Jarrel wrote:
> Hi All!
>
> Another interesting thing that I have just come across in relation to
> cache grouping and to continue on Bob's thread "Removing Cayenne cache
> groups" I have the following two test cases
Hi All!
Another interesting thing that I have just come across in relation to
cache grouping and to continue on Bob's thread "Removing Cayenne cache
groups" I have the following two test cases.
@SuppressWarnings("unchecked")
public void testBasicSelectQuery
On Sat, May 29, 2010 at 2:22 PM, Bob Schellink wrote:
>
> That said, DataObject.getDataContext is deprecated. What is the recommended
> way to lookup the
> DataDomain from inside a DataObject callback?
> Configuration.getSharedConfiguration().getDomain()?
>
> Kind regards
>
> Bob
>
I tend to c
If you have access to the ObjectContext with which you originally registered
the cache group, (which I personally get via a call to the BaseContext), then
that should be your DataContext instance.
On May 29, 2010, at 12:22 AM, Bob Schellink wrote:
> Sorry for my late reply.
>
> On 28/05/2010
Sorry for my late reply.
On 28/05/2010 00:48, Bryan Lewis wrote:
> This email made me aware of that cool new removeGroup and OSCache features.
> Thanks. Two little howevers...
>
> In my testing, it worked only with LOCAL_CACHE, as the original poster
> said. Not a big deal for me; SHARED_CACHE
Okay, CAY-1436.
On Thu, May 27, 2010 at 11:04 AM, Andrus Adamchik wrote:
>
> On May 27, 2010, at 5:48 PM, Bryan Lewis wrote:
>
> I couldn't get OSCache to work at first. I stepped through the code and
>> learned that the queryCacheFactory isn't created unless the
>> dataContextFactory is also
On May 27, 2010, at 5:48 PM, Bryan Lewis wrote:
I couldn't get OSCache to work at first. I stepped through the code
and
learned that the queryCacheFactory isn't created unless the
dataContextFactory is also specified. (In
DataDomain.initWithProperties().) I don't see the logic to that...
This email made me aware of that cool new removeGroup and OSCache features.
Thanks. Two little howevers...
In my testing, it worked only with LOCAL_CACHE, as the original poster
said. Not a big deal for me; SHARED_CACHE is rarely necessary. The same
was true with OSCache.
I couldn't get OSCach
Odd. MapQueryCacheFactory supports 'removeGroup' method (although it
is not very efficient compared to say OSQueryCacheFactory). Can you
possibly run this in debugger to check the state of the cache?
Andrus
On May 25, 2010, at 3:47 PM, Bob Schellink wrote:
Hi all,
I'm trying to add Caye
Hi all,
I'm trying to add Cayenne caching for a web project I'm working on. A new
DataContext is created for
each request so I'm looking at adding a shared cache for entities that doesn't
change often. However
if one of those entities does get updated, I want to refresh the cache.
To start off
18 matches
Mail list logo