If the question is "is cached data removed when stopService/startService are called", the answer is no, the cached data is not removed.

I did experience and issue after a cache "restart", where the LRU policy was not functionning properly (node that were supposed to be evicted where not).I did not get a chance to see if the fix of http://jira.jboss.com/jira/browse/JBCACHE-38 took care of the issue or not.

when you said the cached data is not removed you mean that is not removed from disk (using cacheLoader), from memory or both.Because I need to release all the cached data just from memory, so I am calling to evict method. The reason is that I am trying to implement a refresh and I need the memroy completly empty.