Another method I don't find appropriate for public API is evict. I do not see an y
reason for it to be publicly available, as it is rather internally used by eviction
thread.
The only other possible usage I am aware of is in the case of eviction, when you want to
use your own "eviction timer" - starting with 3.0 this will be handled through a
plugable eviction timer (JBCACHE-1268).
So if no other use cases for using Cache.evict, I suggest deprecating it from the public
API.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157946#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...