[infinispan-dev] ApplyDeltaCommand: question about affected keys

Vladimir Blagojevic vblagoje at redhat.com
Thu Jan 24 12:42:28 EST 2013


Should be just the deltas. That was the whole point after all :-)

Regards,
Vladimir
On 13-01-24 12:19 PM, Ray Tsang wrote:
> Ah that explains it!
>
> Btw - after the delta, in replicated/distributed cache, does it send 
> over the whole object or just the deltas?  I'm assuming the former.
>
> Thanks!
>
> On Thu, Jan 24, 2013 at 4:04 AM, Manik Surtani <manik at jboss.org 
> <mailto:manik at jboss.org>> wrote:
>
>     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.
>
>     I could trace through usage in my IDE but then so could anybody -
>     Vlad, do you have any specific insight to add here?
>
>     Cheers
>     Manik
>
>     On 24 Jan 2013, at 12:01, Manik Surtani <manik at jboss.org
>     <mailto:manik at jboss.org>> wrote:
>
>     > I believe this is what you guys are looking for.
>     >
>     >
>     https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/commands/write/PutKeyValueCommand.java#L100
>     >
>     >
>     > On 23 Jan 2013, at 21:02, Vladimir Blagojevic
>     <vblagoje at redhat.com <mailto:vblagoje at redhat.com>> wrote:
>     >
>     >> On 13-01-23 3:36 PM, Ray Tsang wrote:
>     >>> speaking of ApplyDeltaCommand - where does it actually perform the
>     >>> delta operation?  perform() simply returns null.  Any pointers?
>     >>>
>     >>> Thanks,
>     >> Look for use of ApplyDeltaCommand class in IDE (in Eclipse
>     highlight
>     >> class name + right click + References->Workspace)
>     >> Current uses I found are in EntryWrappingInterceptor,
>     >> OptimisticLockingInterceptor and so on....
>     >>
>     >> Regards,
>     >> Vladimir
>     >> _______________________________________________
>     >> infinispan-dev mailing list
>     >> infinispan-dev at lists.jboss.org
>     <mailto:infinispan-dev at lists.jboss.org>
>     >> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>     >
>     > --
>     > Manik Surtani
>     > manik at jboss.org <mailto:manik at jboss.org>
>     > twitter.com/maniksurtani <http://twitter.com/maniksurtani>
>     >
>     > Platform Architect, JBoss Data Grid
>     > http://red.ht/data-grid
>     >
>     >
>     > _______________________________________________
>     > infinispan-dev mailing list
>     > infinispan-dev at lists.jboss.org
>     <mailto:infinispan-dev at lists.jboss.org>
>     > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>     --
>     Manik Surtani
>     manik at jboss.org <mailto:manik at jboss.org>
>     twitter.com/maniksurtani <http://twitter.com/maniksurtani>
>
>     Platform Architect, JBoss Data Grid
>     http://red.ht/data-grid
>
>
>     _______________________________________________
>     infinispan-dev mailing list
>     infinispan-dev at lists.jboss.org <mailto:infinispan-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20130124/436b9bfd/attachment.html 


More information about the infinispan-dev mailing list