[jboss-dev-forums] [Design of JBossCache] - Re: JBCACHE-1154 - Introduce ability to mark nodes as reside

genman do-not-reply at jboss.com
Sat Sep 1 04:26:59 EDT 2007


I thought it might be worthwhile sometime back to introduce various attributes such as read-only or hidden to a Node by potentially utilizing something like the EnumSet. Having a flag mechanism accomplishes a few things: Reduces future changes of the Node interface (no need to add methods for a new feature), and reduces node memory size (no need to add new boolean variables).

I really think that how POJO Cache manages internal information is ugly. Having FQN with names such as "jboss_internal" etc. and doing all sorts of FQN hackery is really suggestive there must be a better way.


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

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



More information about the jboss-dev-forums mailing list