Yes. The cache you create is just a cache client. If you require different caches, take a look at the namespace API:
http://code.google.com/appengine/docs/java/multitenancy/overview.html Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Mon, Feb 28, 2011 at 7:51 PM, QkQk <michael....@gmail.com> wrote: > Hi, > I am running jcache apps in junit testing under AppEngine sdk 1.4.0 > development mode. I have created two caches , ex, cache1, cache2, and > using registerecache to register these to cacheManager. There is a > problem of using same key in two caches. pseudo code as follows: > cache1.put("counterXYZ", value); > if (cache2.get("counterXYZ) != null ) { > cache2.remove("counterXYZ"); > } > .. > why this will remove cache1's "counterXYZ" as well ? > I seems to me that two caches share the same physical space in GAE. > > -- > 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 > google-appengine-java@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.