<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 4 Aug 2009, at 09:37, Galder Zamarreno wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>Re: <a href="https://jira.jboss.org/jira/browse/ISPN-6">https://jira.jboss.org/jira/browse/ISPN-6</a><br><br>Source code for this is currently located in an Infinispan branch in the <br>Hibernate SVN repo:<br><br><a href="https://svn.jboss.org/repos/hibernate/core/branches/INFINISPAN/">https://svn.jboss.org/repos/hibernate/core/branches/INFINISPAN/</a><br>http://anonsvn.jboss.org/repos/hibernate/core/branches/INFINISPAN/<br><br>I've picked this JIRA from Chris Bredesen. I'm waiting to get an answer <br>to an email I sent him yesterday but in the mean time, here's a list of <br>TODOs:<br><br>1. Current Infinispan region factory needs to point to a config with <br>named caches. Suggested property name: hibernate.cache.region.ispn4.configs<br></div></blockquote><div><br></div><div>hibernate.cache.infinispan.cfg ?</div><div><br></div><div>- why do we need 'region' in there, non-intuitive to end-users?</div><div>- I'd rather use infinispan rather than ispn. </div><br><blockquote type="cite"><div><br>2. Need a equivalent version of this region factory where cache manager <br>is retrieved from JNDI. Suggsted property name: <br>hibernate.cache.region.ispn4.manager<br></div></blockquote><div><br></div><div>s/region.ispn4/infinispan</div><br><blockquote type="cite"><div><br>3. Configuration properties for named cache names. Suggested property names:<br>hibernate.cache.region.ispn4.cfg.entity<br>hibernate.cache.region.ispn4.cfg.collection<br>hibernate.cache.region.ispn4.cfg.query<br>hibernate.cache.region.ispn4.cfg.timestamps<br></div></blockquote><div><br></div><div>s/region.ispn4/infinispan</div><br><blockquote type="cite"><div><br>4. Resolve TransactionalAccess, ReadOnlyAccess and BaseRegion TODOs.<br><br>5. Enhance query results region so that query changes are not propagated <br>if invalidation is used and add query.localonly equivalent property. <br>Suggested name: hibernate.cache.region.ispn4.query.localonly<br><br></div></blockquote><div><br></div><div>s/region.ispn4/infinispan</div><br><blockquote type="cite"><div>6. Add more unit tests!<br><br>7. Document in wiki.<br></div></blockquote><div><br></div><div>Good stuff, thanks for taking this on!</div><div>- Manik</div><br><blockquote type="cite"><div><br>Some notes I've made while investigating this:<br><br>- Whereas with JBC2/3, we had the possibility of a shared cache for all <br>types (entities, collections, query,...etc) and a multiplexed version <br>where each type had a specific cache, in Infinispan, it only makes the <br>latter. Amongst other reasons because we don't have eviction regions any <br>more and so we can't exclude the timestamp modification region as we did <br>in JBC2/3. Overall, having a single option is a good thing from a <br>configuration and usability perspective! Remember how complex eviction <br>region definition could get for entities...<br><br>Finally, a question to the list, specially for Brian/Steve who worked on <br>the JBC2/3 integration layer:<br><br>- Do we need a similar timestamp region local cache implementation for <br>an ISPN based cache provider?<br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote><blockquote type="cite"><div>Cheers,<br>-- <br>Galder Zamarreņo<br>Sr. Software Engineer<br>Infinispan, JBoss Cache<br>_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div>Lead, Infinispan</div><div>Lead, JBoss Cache</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></body></html>