[jboss-dev-forums] [Design of JBossCache] - Last chance for anychanges to the 2.0.0 API
Brian Stansberry
brian.stansberry at jboss.com
Fri Dec 15 12:57:10 EST 2006
I haven't thought about it in detail, but it sure sounds good. :)
jboss-dev-forums-bounces at lists.jboss.org wrote:
>
> TreeCacheProxyImpl
> Originally created as a delegate to link the new interfaces
> with TreeCache. I agree with earlier comments about this
> being unnecessary and TreeCache should just directly
> implement the new interfaces.
Was preventing people using TreeCache directly one of the original
motivations for this class and the factories and such? And therefore
calling various public methods that aren't part of the Cache interface?
If so, I'd think the biggest danger there is old code written to use
org.jboss.cache.TreeCache still working against 2.0. So perhaps we
change that class' name to CacheImpl or something. That breaks any code
that uses TreeCache directly, forcing use of the new API. If people
then still use the class directly rather than working through the
interfaces, well, that's their problem.
- Brian
More information about the jboss-dev-forums
mailing list