Ah that explains it!<div><br></div><div>Btw - after the delta, in replicated/distributed cache, does it send over the whole object or just the deltas? I'm assuming the former.</div><div><br></div><div>Thanks!<br><br><div class="gmail_quote">
On Thu, Jan 24, 2013 at 4:04 AM, Manik Surtani <span dir="ltr"><<a href="mailto:manik@jboss.org" target="_blank">manik@jboss.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry, I misread the question - the link below shows how Deltas are applied when a delta is shipped around as a part of a put(). If you are explicitly using the ApplyDeltaCommand, this is Vlad's code and he should know.<br>
<br>
I could trace through usage in my IDE but then so could anybody - Vlad, do you have any specific insight to add here?<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888">Manik<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 24 Jan 2013, at 12:01, Manik Surtani <<a href="mailto:manik@jboss.org">manik@jboss.org</a>> wrote:<br>
<br>
> I believe this is what you guys are looking for.<br>
><br>
> <a href="https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/commands/write/PutKeyValueCommand.java#L100" target="_blank">https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/commands/write/PutKeyValueCommand.java#L100</a><br>
><br>
><br>
> On 23 Jan 2013, at 21:02, Vladimir Blagojevic <<a href="mailto:vblagoje@redhat.com">vblagoje@redhat.com</a>> wrote:<br>
><br>
>> On 13-01-23 3:36 PM, Ray Tsang wrote:<br>
>>> speaking of ApplyDeltaCommand - where does it actually perform the<br>
>>> delta operation? perform() simply returns null. Any pointers?<br>
>>><br>
>>> Thanks,<br>
>> Look for use of ApplyDeltaCommand class in IDE (in Eclipse highlight<br>
>> class name + right click + References->Workspace)<br>
>> Current uses I found are in EntryWrappingInterceptor,<br>
>> OptimisticLockingInterceptor and so on....<br>
>><br>
>> Regards,<br>
>> Vladimir<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>
><br>
> --<br>
> Manik Surtani<br>
> <a href="mailto:manik@jboss.org">manik@jboss.org</a><br>
> <a href="http://twitter.com/maniksurtani" target="_blank">twitter.com/maniksurtani</a><br>
><br>
> Platform Architect, JBoss Data Grid<br>
> <a href="http://red.ht/data-grid" target="_blank">http://red.ht/data-grid</a><br>
><br>
><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>
<br>
--<br>
Manik Surtani<br>
<a href="mailto:manik@jboss.org">manik@jboss.org</a><br>
<a href="http://twitter.com/maniksurtani" target="_blank">twitter.com/maniksurtani</a><br>
<br>
Platform Architect, JBoss Data Grid<br>
<a href="http://red.ht/data-grid" target="_blank">http://red.ht/data-grid</a><br>
<br>
<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>
</div></div></blockquote></div><br></div>