[jboss-dev-forums] [Design of JBossCache] - Re: JBoss Cache Public API

bstansberry@jboss.com do-not-reply at jboss.com
Fri Jun 13 09:48:51 EDT 2008


anonymous wrote : 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. 

No!  It makes total sense for a cache-based application to want to control memory management itself.  The application often knows more about the overall state of the system than the cache does.  The fact that JBC provides a feature whereby it can help the application control memory doesn't mean that users should be forced to use that mechanism.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157961#4157961

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157961



More information about the jboss-dev-forums mailing list