Class TopologyAwareConsistentHashFactory
- java.lang.Object
-
- org.infinispan.distribution.ch.impl.AbstractConsistentHashFactory<DefaultConsistentHash>
-
- org.infinispan.distribution.ch.impl.DefaultConsistentHashFactory
-
- org.infinispan.distribution.ch.impl.TopologyAwareConsistentHashFactory
-
- All Implemented Interfaces:
ConsistentHashFactory<DefaultConsistentHash>
public class TopologyAwareConsistentHashFactory extends DefaultConsistentHashFactory
Default topology-aware consistent hash factory implementation.- Since:
- 5.2
- Author:
- Dan Berindei
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TopologyAwareConsistentHashFactory.Externalizer
-
Nested classes/interfaces inherited from class org.infinispan.distribution.ch.impl.DefaultConsistentHashFactory
DefaultConsistentHashFactory.Builder
-
-
Constructor Summary
Constructors Constructor Description TopologyAwareConsistentHashFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addBackupOwners(DefaultConsistentHashFactory.Builder builder)
-
Methods inherited from class org.infinispan.distribution.ch.impl.DefaultConsistentHashFactory
addPrimaryOwners, create, doAddBackupOwners, equals, findNewBackupOwner, fromPersistentState, hashCode, rebalance, rebalanceBuilder, removeExtraBackupOwners, replaceBackupOwners, replacePrimaryOwners, swapPrimaryOwnersWithBackups, union, updateMembers
-
Methods inherited from class org.infinispan.distribution.ch.impl.AbstractConsistentHashFactory
checkCapacityFactors, findNewPrimaryOwner, findWorstPrimaryOwner
-
-
-
-
Method Detail
-
addBackupOwners
protected void addBackupOwners(DefaultConsistentHashFactory.Builder builder)
- Overrides:
addBackupOwners
in classDefaultConsistentHashFactory
-
-