Hi friends,
I want to use different cache save different sorts of Objects, so I
create several caches in a HashMap.
But when I debug my program, I realize only one cache in the lower
layer...
Is it true?
private Map<String, Cache> caches = new HashMap<String,
Cache>();
....
cacheFactory = CacheManager.getInstance
().getCacheFactory();
caches.put(Account.class.getSimpleName(),
cacheFactory.createCache
(Collections.emptyMap()));
caches.put(AddressBook.class.getSimpleName(),
cacheFactory.createCache(Collections.emptyMap()));
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---