public abstract class AbstractConsistentHashFactory<CH extends ConsistentHash> extends Object implements ConsistentHashFactory<CH>
Constructor and Description |
---|
AbstractConsistentHashFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkCapacityFactors(List<Address> members,
Map<Address,Float> capacityFactors) |
protected Address |
findNewPrimaryOwner(org.infinispan.distribution.ch.impl.AbstractConsistentHashFactory.Builder builder,
Collection<Address> candidates,
Address primaryOwner) |
protected Address |
findWorstPrimaryOwner(org.infinispan.distribution.ch.impl.AbstractConsistentHashFactory.Builder builder,
List<Address> nodes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create, fromPersistentState, rebalance, union, updateMembers
protected void checkCapacityFactors(List<Address> members, Map<Address,Float> capacityFactors)
protected Address findWorstPrimaryOwner(org.infinispan.distribution.ch.impl.AbstractConsistentHashFactory.Builder builder, List<Address> nodes)
null
if the remaining nodes own 0 segments.protected Address findNewPrimaryOwner(org.infinispan.distribution.ch.impl.AbstractConsistentHashFactory.Builder builder, Collection<Address> candidates, Address primaryOwner)
Copyright © 2021 JBoss by Red Hat. All rights reserved.