Class DefaultConsistentHashFactory

java.lang.Object
org.infinispan.distribution.ch.impl.AbstractConsistentHashFactory<DefaultConsistentHash>
org.infinispan.distribution.ch.impl.DefaultConsistentHashFactory
All Implemented Interfaces:
ConsistentHashFactory<DefaultConsistentHash>
Direct Known Subclasses:
TopologyAwareConsistentHashFactory

@ProtoTypeId(1068) public class DefaultConsistentHashFactory extends AbstractConsistentHashFactory<DefaultConsistentHash>
Default implementation of ConsistentHashFactory. All methods except union(DefaultConsistentHash, DefaultConsistentHash) return a consistent hash with floor(numOwners*numSegments/numNodes) <= segments per owner <= ceil(numOwners*numSegments/numNodes).
Since:
5.2
Author:
Dan Berindei, anistor@redhat.com