Package | Description |
---|---|
org.infinispan.distribution.ch.impl |
Modifier and Type | Method and Description |
---|---|
ScatteredConsistentHash |
ScatteredConsistentHashFactory.Builder.build() |
ScatteredConsistentHash |
ScatteredConsistentHashFactory.create(int numOwners,
int numSegments,
List<Address> members,
Map<Address,Float> capacityFactors) |
ScatteredConsistentHash |
ScatteredConsistentHash.Externalizer.doReadObject(ObjectInput unmarshaller) |
ScatteredConsistentHash |
ScatteredConsistentHashFactory.fromPersistentState(ScopedPersistentState state) |
ScatteredConsistentHash |
ScatteredConsistentHashFactory.rebalance(ScatteredConsistentHash baseCH) |
ScatteredConsistentHash |
ScatteredConsistentHash.union(ScatteredConsistentHash sch2)
Prefers owners from the second hash -> effectively this will make pendingCH == unionCH (I think)
|
ScatteredConsistentHash |
ScatteredConsistentHashFactory.union(ScatteredConsistentHash dch1,
ScatteredConsistentHash dch2)
Merges two consistent hash objects that have the same number of segments, numOwners and hash function.
|
ScatteredConsistentHash |
ScatteredConsistentHashFactory.updateMembers(ScatteredConsistentHash baseCH,
List<Address> actualMembers,
Map<Address,Float> actualCapacityFactors)
Leavers are removed and segments without owners are assigned new owners.
|
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends ScatteredConsistentHash>> |
ScatteredConsistentHash.Externalizer.getTypeClasses() |
Modifier and Type | Method and Description |
---|---|
void |
ScatteredConsistentHash.Externalizer.doWriteObject(ObjectOutput output,
ScatteredConsistentHash ch) |
ScatteredConsistentHash |
ScatteredConsistentHashFactory.rebalance(ScatteredConsistentHash baseCH) |
ScatteredConsistentHash |
ScatteredConsistentHash.union(ScatteredConsistentHash sch2)
Prefers owners from the second hash -> effectively this will make pendingCH == unionCH (I think)
|
ScatteredConsistentHash |
ScatteredConsistentHashFactory.union(ScatteredConsistentHash dch1,
ScatteredConsistentHash dch2)
Merges two consistent hash objects that have the same number of segments, numOwners and hash function.
|
ScatteredConsistentHash |
ScatteredConsistentHashFactory.updateMembers(ScatteredConsistentHash baseCH,
List<Address> actualMembers,
Map<Address,Float> actualCapacityFactors)
Leavers are removed and segments without owners are assigned new owners.
|
Constructor and Description |
---|
Builder(ScatteredConsistentHash baseCH) |
Builder(ScatteredConsistentHash baseCH,
List<Address> actualMembers,
Map<Address,Float> actualCapacityFactors) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.