[jboss-dev-forums] [Design of JBossCache] - Re: JBCACHE-941 discussion

manik.surtani@jboss.com do-not-reply at jboss.com
Mon Jan 22 09:40:17 EST 2007


anonymous wrote : 
  | 
  | Manik suggests also an adaptor for JCache (JSR-107). 
  | 
  | 

Just that JCACHE uses a Map interface rather than a tree structured one.

In general, I think this is a good idea as there are many use cases (Hibernate, among others) where a tree structure is too complex and unnecessary from an API perspective (but necessary from a performance/efficiency perspective).

E.g., Coherence offers a Map interface, but internally key/value pairs are broken up into buckets for finer grained concurrency and replication.

anonymous wrote : 
  | Actually, it might also be nifty if JBoss Cache could supply adaptors for competing Cache APIs. I'm not sure of the legality of this for commercially published interfaces.
  | 

Hmm, this would mean shipping with those interfaces though.  Perhaps these could be additional downloads?  Like you said, we'd need to research legality anyway.

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

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



More information about the jboss-dev-forums mailing list