"manik.surtani@jboss.com" wrote:
I actually do like Galder's suggestion about making this a JMX operation though - being able to purge the cache loader
a) without the need to restart the app server
b) without risk of forgetting to switch this off
c) cleaner cache loader configuration
Would an approach like this work for the use case?
A JMX operation to manually flush the cache would be extremely userful. I am glad that remove(/) will work but before reading this forum I had no idea how to do it. A function called flush() would have been a lot more obvious...just my 2 cents.