-
Jan 3rd, 2013, 09:27 AM
#1
ehcache to refresh Issue
Hi All,
Am working on an application that uses ehcache for caching. Application is built on Spring framework and it uses Hibernate.
We use ehcache for caching values from a service call at configured time interval. Issue is that sometimes the service call fails (due to some exception) and it returns an empty response. In such a scenario i need the old value in the cache to be retained, but ehcache clears the old value when it is expired even before it checks for the update.
Is there a way to handle such scenario ? Appreciate any help you can provide.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules