I am using app engine - java support and trying to get caching
working. This is what I have in my jdoconfig.xml
<property name="datanucleus.cache.level2" value="true"/>
<property name="datanucleus.cache.level2.type"
value="javax.cache"/>
<property name="datanucleus.cache.level2.cacheName"
value="myLevel2Cache"/>
<property name="datanucleus.cache.query" value="true"/>
<property name="datanucleus.cache.query.type"
value="javax.cache"/>
<property name="datanucleus.cache.query.cacheName"
value="myQueryCache"/>
In my log file, I see this
May 1, 2010 1:26:55 AM org.datanucleus.store.query.QueryManager
initialiseQueryCache
FINE: Query Cache of type
"org.datanucleus.store.query.cache.WeakQueryCache" initialised
May 1, 2010 1:26:56 AM org.datanucleus.ObjectManagerFactoryImpl
initialiseLevel2Cache
FINE: Level 2 Cache of type
"org.datanucleus.cache.javaxcache.JavaxCacheLevel2Cache" initialised
May 1, 2010 1:26:56 AM org.datanucleus.ObjectManagerImpl
initialiseLevel1Cache
FINE: Level 1 Cache of type "weak" initialised
My thinking is that I would need the query cache not to have weak
references but rather use memcache provided by GAE. Is there something
wrong in my configuration/thought process?
Thanks in advance,
mic
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.