<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 26 Oct 2010, at 19:44, Mircea Markus wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>ISPN-180 requires changes in ConsistentHash interface. This is a public interface in 4.x as its implementation is pluggable.</div><div><br></div><div>1. Is this something we want to do? I think we should doi it as a) the migration to new impl is relatively simple b) I don't think this is has a highly used feature&nbsp;</div><div><br></div><div>2.&nbsp;The interface I need for implementing ISPN-180 looks something like:&nbsp;<a href="http://www.pastie.org/1250789">http://www.pastie.org/1250789</a></div><div>Last three methods were added, and two methods were removed: getDistance and isAdjacent&nbsp;</div><div>How does this look to you?</div></div></blockquote>One more thing - any reason why isn't part of the CH state? Seems like it is passed to the CH on almost all methods with the same value. Having it as state (together with List&lt;Address&gt;) would allow implementations to cache stuff.<br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Cheers,</div><div>Mircea</div><div><br></div>
</div>_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev</blockquote></div><br></body></html>