<div dir="ltr">Sanne, I&#39;m only talking about get operations. I was thinking that if you call cache.get(key), you want the value of that key, regardless of where it is stored...<br><br>Obviously, write operations would still behave as they do now.<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 12:59 PM, Sanne Grinovero <span dir="ltr">&lt;<a href="mailto:sanne@infinispan.org" target="_blank">sanne@infinispan.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dan,<br>
I&#39;m not sure I understood this. How can I prevent it to return values<br>
if you have the flag ignored? Note that in some cases it makes a huge<br>
performance difference.<br>
<br>
Sanne<br>
<div><div class="h5"><br>
On 3 June 2013 10:52, Dan Berindei &lt;<a href="mailto:dan.berindei@gmail.com">dan.berindei@gmail.com</a>&gt; wrote:<br>
&gt; Hi guys<br>
&gt;<br>
&gt; CacheLoaderInterceptor and DistributionInterceptor both honour the<br>
&gt; IGNORE_RETURN_VALUES flag for get commands, but I think it would be more<br>
&gt; useful if they ignored it - just like they ignore it for conditional<br>
&gt; commands.<br>
&gt;<br>
&gt; That would make it possible for users to only keep a reference to a<br>
&gt; cache.getAdvancedCache().withFlags(IGNORE_RETURN_VALUES) and use it for both<br>
&gt; read and write operations.<br>
&gt;<br>
&gt; What do you think?<br>
&gt;<br>
&gt; Cheers<br>
&gt; Dan<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</blockquote></div><br></div>