<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 20 Jun 2012, at 14:30, Martin Gencur wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br>I'm playing with partial object's state transfer, similar to how<br>AtomicHashMap/AtomicHashMapDelta works. The purpose of these classes is,<br>among other things, to show that for objects large in size we can<br>transfer just the updated part of them, not whole objects.<br><br>I tried to implement DeltaAware and Delta interfaces and my tests showed<br>that only methods of the delta object's externalizer were called. Not<br>methods of the externalizer of the actual object holding the data. <br><br>To be precise - I have two classes:<br>Bicycle implements DeltaAware (similar to AtomicHashMap)<br>BicycleDelta implements Delta (similar to AtomicHashMapDelta)<br><br>...and only BicycleDelta's externalizer's methods were called. Not those<br>of Bicycle's externalizer.<br><br>This brings me to AtomicHashMap... is the externalizer for this class<br>ever used/needed?<br></div></blockquote><div><br></div><div>Yes, when serialising to disk. &nbsp;:)</div><div><br></div><div>Does your test use a CacheStore?</div></div><div><br></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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>Project Lead, Infinispan</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><br></div><div>Platform Architect, JBoss Data Grid</div><div><a href="http://www.redhat.com/promo/dg6beta">http://www.redhat.com/promo/dg6beta</a></div></div></div></div></span></span>
</div>
<br></body></html>