[jboss-dev-forums] [Design of JBossCache] - PojoCache uses a special node factory
bstansberry@jboss.com
do-not-reply at jboss.com
Fri Jan 5 14:36:24 EST 2007
Quick brain dump...
I think PojoCache has some issue with its _JBossInternal_ node(s) -- things like data versioning changes with optimistic locking, potential lock contention due to the large number of child nodes, etc.
One thing I noticed is the Configuration.getRuntimeConfig() object now exposes the NodeFactory as a property. This means PojoCache can set the NodeFactory to something specific to PojoCache. This opens up the possibility of having a specialized factory create specialized nodes for _JBossInternal_. For example, one whose data version is always 0, or that has a more complex structure for holding child nodes to avoid lock conflicts, etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998368#3998368
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998368
More information about the jboss-dev-forums
mailing list