Announcement Announcement Module
Collapse
No announcement yet.
ehcache to refresh Issue Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X