Uses of Class
org.infinispan.distribution.ch.impl.ScatteredConsistentHash
-
Uses of ScatteredConsistentHash in org.infinispan.distribution.ch.impl
Modifier and TypeMethodDescriptionScatteredConsistentHashFactory.Builder.build()
ScatteredConsistentHashFactory.create
(int numOwners, int numSegments, List<Address> members, Map<Address, Float> capacityFactors) ScatteredConsistentHash.Externalizer.doReadObject
(ObjectInput unmarshaller) ScatteredConsistentHashFactory.fromPersistentState
(ScopedPersistentState state) ScatteredConsistentHashFactory.rebalance
(ScatteredConsistentHash baseCH) ScatteredConsistentHash.union
(ScatteredConsistentHash sch2) Prefers owners from the second hash -> effectively this will make pendingCH == unionCH (I think)ScatteredConsistentHashFactory.union
(ScatteredConsistentHash dch1, ScatteredConsistentHash dch2) Merges two consistent hash objects that have the same number of segments, numOwners and hash function.ScatteredConsistentHashFactory.updateMembers
(ScatteredConsistentHash baseCH, List<Address> actualMembers, Map<Address, Float> actualCapacityFactors) Leavers are removed and segments without owners are assigned new owners.Modifier and TypeMethodDescriptionSet<Class<? extends ScatteredConsistentHash>>
ScatteredConsistentHash.Externalizer.getTypeClasses()
Modifier and TypeMethodDescriptionvoid
ScatteredConsistentHash.Externalizer.doWriteObject
(ObjectOutput output, ScatteredConsistentHash ch) ScatteredConsistentHashFactory.rebalance
(ScatteredConsistentHash baseCH) ScatteredConsistentHash.union
(ScatteredConsistentHash sch2) Prefers owners from the second hash -> effectively this will make pendingCH == unionCH (I think)ScatteredConsistentHashFactory.union
(ScatteredConsistentHash dch1, ScatteredConsistentHash dch2) Merges two consistent hash objects that have the same number of segments, numOwners and hash function.ScatteredConsistentHashFactory.updateMembers
(ScatteredConsistentHash baseCH, List<Address> actualMembers, Map<Address, Float> actualCapacityFactors) Leavers are removed and segments without owners are assigned new owners.ModifierConstructorDescriptionBuilder
(ScatteredConsistentHash baseCH) Builder
(ScatteredConsistentHash baseCH, List<Address> actualMembers, Map<Address, Float> actualCapacityFactors)