[jboss-dev-forums] [Design of JBossCache] - Re: PojoCache uses a special node factory

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Jan 10 06:10:33 EST 2007


Rather than allowing users to pre-create buckets in an internal node (makes me shudder!) how about doing something like allowing users to somehow provide information on the bucket a node should belong to, a bit like Object.hashCode()?

We would probably want to use hashCode() on the Fqn as the primary way of determining which bucket the node goes in, but perhaps a mechanism of allowing the user to add a 'hint' to this would help.  


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

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



More information about the jboss-dev-forums mailing list