"manik.surtani(a)jboss.com" wrote : 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.
|
Relaxed. I am not saying user will create internal node directly. If you read my post, I
was suggesting to have a flag to use the id field as a prefix under
"__JBossInternal__". :-)
Hashcode is fine but that belongs to the Cache layer again of distributing them into
hashed bucket.
Two different ways of optimizing the node creation for user to pick.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999874#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...