I have 2 apps doing 2 different processing. Both use JCache
(net.sf.jsr107cache.*) almost the same way. Everyday a process issues
clear() method to delete the cache so that the rest of the processes
create a new cache for the day. They all run fine for a few months.
But since around March/April, one of them started to process
abnormally. The main cause of the problems is the clear() method,
though executed, failed to clean up the cache. The funny thing is only
one of the apps has problem. The other one continues to function
normally.

1. Though my apps have been working for quite sometimes, I don't know
if my method of using the cache is correct. I use a class to house the
cache and all cache related logic. The cache and all its methods are
static for my all other programs to use. Is this the right way to use
cache?

2. What is the possible reason the clear() method is executed but no
effect? (there is no exception in the log, and I have log.info("msg")
after it which can be found in the log). For the time being, I use
put(key, null) to clear the content. But it is not the same as
clear().

3. Why only one of my apps has problem while the other one with same
logic still working fine?

4. I downloaded JCache from java site and found there it has more
function then the net.sf.jsr107cache, like remove(). Can it be used in
GAE?

Please help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to