[jboss-dev-forums] [Design of JBossCache] - Re: JBoss Cache Public API
mircea.markus
do-not-reply at jboss.com
Fri Jun 13 08:50:49 EDT 2008
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#4157946
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157946
More information about the jboss-dev-forums
mailing list