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

Dan Berindei (JIRA) jira-events at lists.jboss.org
Thu Jan 19 09:19:18 EST 2012


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

Dan Berindei updated ISPN-1757:
-------------------------------

        Fix Version/s: 5.1.0.FINAL
    Affects Version/s: 5.1.0.CR4
          Component/s: Configuration

    
> 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: 5.1.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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list