[jboss-dev-forums] [Design of JBossCache] - Re: JBCACHE-890 - idea for consolidating meta-data on a node
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Dec 20 15:30:14 EST 2006
Somewhat off-topic, but I think we should think about a similar implementation approach for Option. I think we're going to start replicating those some day, and we're also likely to add new flags over time. If I'm thinking correctly, use of an EnumSet *may* help maintain serialization-compatibility between releases as long as we:
1) Don't remove enum constants from the enum we use for the flags.
2) Only add new enum constants at the end of the list; i.e. don't change order.
3) Don't replicate a new constant if we're interoperating with a previous release that doesn't understand it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995443#3995443
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995443
More information about the jboss-dev-forums
mailing list