[
https://issues.jboss.org/browse/ISPN-1757?page=com.atlassian.jira.plugin....
]
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