I understand that the desire to form delegating cache networks has led to 
TreeCache and CacheLoader having the same interface, but IMHO that interface 
should be split into two so that the delegation/CacheLoader interface doesn't 
contain non-canonical methods such as get(Fqn, Object), get(String, Object), 
and get(String), where get(Fqn) will do. In any case, 2.1 only calls 
CacheLoader.get(Fqn) in response to TreeCache.get(Fqn, Object) so it's 
obviously canonicalizing to some extent, although it's not indicated anywhere 
which CacheLoader methods are 'required' i.e. form the canonical subset.

Is there some additional reason for the interfaces to be the same that I'm not 
understanding?

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to