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

Mircea Markus (JIRA) jira-events at lists.jboss.org
Tue Oct 30 21:55:01 EDT 2012


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

Mircea Markus updated ISPN-1757:
--------------------------------

    Fix Version/s: 6.0.0.Final
                       (was: 5.2.0.Final)

    
> 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: Pete Muir
>             Fix For: 6.0.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