[infinispan-dev] API changes with ISPN-180

Vladimir Blagojevic vblagoje at redhat.com
Tue Oct 26 15:06:47 EDT 2010


On 2010-10-26, at 2:55 PM, Mircea Markus wrote:

> 
> On 26 Oct 2010, at 19:44, Mircea Markus wrote:
> 
>> Hi,
>> 
>> ISPN-180 requires changes in ConsistentHash interface. This is a public interface in 4.x as its implementation is pluggable.
>> 
>> 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 
>> 
>> 2. The interface I need for implementing ISPN-180 looks something like: http://www.pastie.org/1250789
>> Last three methods were added, and two methods were removed: getDistance and isAdjacent 
>> How does this look to you?
> 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<Address>) would allow implementations to cache stuff.


What are you referring to when you say "why isn't part of the CH state"?


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


More information about the infinispan-dev mailing list