We have requirement to parse XML to java object and store java objects into cache. We are using ehcache for caching java objects.
Is there any way to invalidate or remove ehcache when XML file change?
The forum has moved to http://forums.terracotta.org/forums/forums/list.page
however, you can easily invalidate the cache.
Obtain a handle to the instance of the cache via CacheManager, etc and call:
Or if you need to remove some objects you can, of course, remove individual elements.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.