[jboss-dev-forums] [Design of JBossCache] - Re: Last chance for any changes to the 2.0.0 API

ben.wang@jboss.com do-not-reply at jboss.com
Mon Dec 18 07:03:37 EST 2006


Manik, can you explain the difference between NodeSPI and WorkspaceNode? Why are they in parallel?

>From my perspective, PojoCache needs to access NodeSPI. But what about WorkspaceNode?

Another question. if I stick with using the operation from Cache interface only, will there be any implication for performance reason for the new proposed change?

Finally, from this hierarchy, I still don't see a clean way to access CacheSPI (or NodeSPI), except to do:

CacheSPI spi = (CacheSPI)cache;

But this may subject to break in the future. Should we simply add a factory method for the SPI instance?


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

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



More information about the jboss-dev-forums mailing list