[infinispan-dev] Externalizer in AtomicHashMap needed?

Martin Gencur mgencur at redhat.com
Wed Jun 20 10:59:25 EDT 2012


Manik Surtani píše v St 20. 06. 2012 v 15:48 +0100:
> 
> On 20 Jun 2012, at 14:30, Martin Gencur wrote:
> 
> > Hi,
> > I'm playing with partial object's state transfer, similar to how
> > AtomicHashMap/AtomicHashMapDelta works. The purpose of these classes
> > is,
> > among other things, to show that for objects large in size we can
> > transfer just the updated part of them, not whole objects.
> > 
> > I tried to implement DeltaAware and Delta interfaces and my tests
> > showed
> > that only methods of the delta object's externalizer were called.
> > Not
> > methods of the externalizer of the actual object holding the data. 
> > 
> > To be precise - I have two classes:
> > Bicycle implements DeltaAware (similar to AtomicHashMap)
> > BicycleDelta implements Delta (similar to AtomicHashMapDelta)
> > 
> > ...and only BicycleDelta's externalizer's methods were called. Not
> > those
> > of Bicycle's externalizer.
> > 
> > This brings me to AtomicHashMap... is the externalizer for this
> > class
> > ever used/needed?
> > 
> 
> 
> Yes, when serialising to disk.  :)
> 
OK :)
> 
> Does your test use a CacheStore?
> 
No.

Thanks
> 
> --
> Manik Surtani
> manik at jboss.org
> twitter.com/maniksurtani
> 
> 
> Project Lead, Infinispan
> http://www.infinispan.org
> 
> 
> Platform Architect, JBoss Data Grid
> http://www.redhat.com/promo/dg6beta
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-- 
Martin Gencur
--
QA Engineer, JBoss Data Grid
Desk phone: +420 532 294 192, ext. 62192



More information about the infinispan-dev mailing list