[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 05:30:18 EST 2012
Dan Berindei created ISPN-1757:
----------------------------------
Summary: Use a ConsistentHashFactory for consistent hash configuration
Key: ISPN-1757
URL: https://issues.jboss.org/browse/ISPN-1757
Project: Infinispan
Issue Type: Task
Reporter: Dan Berindei
Assignee: Pete Muir
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