[infinispan-issues] [JBoss JIRA] (ISPN-1757) Use a ConsistentHashFactory for consistent hash configuration

Dan Berindei (JIRA) issues at jboss.org
Tue Mar 11 08:51:11 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei resolved ISPN-1757.
--------------------------------

         Assignee: Dan Berindei  (was: Pete Muir)
    Fix Version/s: 5.2.0.Final
       Resolution: Done


Fixed with ISPN-1424.
                
> Use a ConsistentHashFactory for consistent hash configuration
> -------------------------------------------------------------
>
>                 Key: ISPN-1757
>                 URL: https://issues.jboss.org/browse/ISPN-1757
>             Project: Infinispan
>          Issue Type: Task
>          Components: Configuration
>    Affects Versions: 5.1.0.CR4
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 5.2.0.Final
>
>
> The new programmatic configuration allows the user to configure a consistent hash with `HashConfigurationBuilder.consistentHash(ConsistentHash)`.
> Since we always create new instances of the consistent hash, I think it would be nicer if we had `HashConfigurationBuilder.consistentHashFactory(ConsistentHashFactory)` instead.
> This would also allow us to have a single default factory that can choose between creating a `DefaultconsistentHash` or a `TopologyAwareConsistentHash` based on the transport configuration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list