[jboss-user] [JBossCache] - Fqn element types

aditsu do-not-reply at jboss.com
Thu Jun 28 23:22:45 EDT 2007


I'm using JBC 2.0.0.CR2; the docs for Fqn say that a Fqn "is a list of names (typically Strings but can be any Object)". However, in CacheLoader, getChildrenNames is declared to return a Set. Besides being inconsistent, this leads to a weird situation where a node's children (with Integer "names") are in memory but because getChildrenNames returns strings, Node.getChildren() will not find them (usually an Integer and its String representation have different hash codes) so it reloads them from the cache loader.
How can this be solved?

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

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



More information about the jboss-user mailing list