<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just a heads up. No point wasting much time on this, JSR 107 is in for a pretty major revamp.<div><br></div><div><a href="https://groups.google.com/forum/#!forum/jsr107">https://groups.google.com/forum/#!forum/jsr107</a></div><div><br></div><div><a href="https://groups.google.com/forum/#!forum/jsr107"></a>Two threads in particular to note:</div><div><br></div><div><a href="https://groups.google.com/forum/#!topic/jsr107/X0VhYs-uCWE">https://groups.google.com/forum/#!topic/jsr107/X0VhYs-uCWE</a></div><div><a href="https://groups.google.com/forum/#!topic/jsr107/AkI2e4pJhyc">https://groups.google.com/forum/#!topic/jsr107/AkI2e4pJhyc</a></div><div><br></div><div>Cheers</div><div>Manik</div><div><br></div><div><br><div><div>On 9 May 2011, at 14:34, Galder Zamarreņo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On May 7, 2011, at 11:25 PM, Ales Justin wrote:<br><br><blockquote type="cite"><blockquote type="cite">&lt;/snip&gt;<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Also, I'm not sure we can really implement this on top of Infinispan. Personally I think it's better if it's implemented within Infinispan. For example:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="https://github.com/alesj/lhotse/blob/master/javax-cache/src/main/java/org/jboss/lhotse/cache/infinispan/InfinispanCache.java#L90">https://github.com/alesj/lhotse/blob/master/javax-cache/src/main/java/org/jboss/lhotse/cache/infinispan/InfinispanCache.java#L90</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">You're basically accessing the data container directly there and so you bypass any interceptors. So for example, in a distributed cache that call won't lookup the entry if not present locally. Same thing if the entry is instead located in a cache store.<br></blockquote></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Is there some other proper API I could use to implement this?<br></blockquote><blockquote type="cite">But I have nothing against moving this directly to Infinispan. :-)<br></blockquote><br>AFAIK no, there's no API that allows to retrieve the info you need for the CacheEntry without getting into internals. <br><br>I'm not sure whether this is something we wanna be exposing right now.<br><br>--<br>Galder Zamarreņo<br>Sr. Software Engineer<br>Infinispan, JBoss Cache<br><br><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>
<div><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div>Lead, Infinispan</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><br></div></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>