[jboss-dev-forums] [Design of JBossCache] - Re: JBCACHE-1004 and JBCACHE-1005

manik.surtani@jboss.com do-not-reply at jboss.com
Thu Mar 15 09:10:35 EDT 2007


Declaring a cache as containing <Object, Object> or even leaving it untyped will be, at worst, what we had before - a generic object cache containing anything at all.

This just gives users flexibility if they do have a homogenous cache, or even a "partly-homogenous" one (for example, where key types are fixed to Strings but values can be anything) or where you want to restrict value types (e.g., Serializable)

Moving forward, once we break down the cache into discrete regions (JBCACHE-64) with their own configurations, we could specify types on a per-region basis.

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

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



More information about the jboss-dev-forums mailing list