Uses of Interface
org.infinispan.distribution.ch.ConsistentHash
Package
Description
Cache
configurationClasses relating to the distributed cache mode.
Consistent Hash interfaces
Cache
-specific notifications and eventing.Cache
-specific listener events-
Uses of ConsistentHash in org.infinispan.configuration.cache
Modifier and TypeMethodDescriptionHashConfigurationBuilder.consistentHashFactory
(ConsistentHashFactory<? extends ConsistentHash> consistentHashFactory) Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0. -
Uses of ConsistentHash in org.infinispan.distribution
Modifier and TypeMethodDescriptionDistributionManager.getReadConsistentHash()
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, to be removed in 14.0.DistributionManager.getWriteConsistentHash()
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, to be removed in 14.0. -
Uses of ConsistentHash in org.infinispan.distribution.ch
Modifier and TypeInterfaceDescriptioninterface
ConsistentHashFactory<CH extends ConsistentHash>
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0.Modifier and TypeMethodDescriptiondefault ConsistentHash
ConsistentHash.remapAddresses
(UnaryOperator<Address> remapper) Returns a new ConsistentHash with the addresses remapped according to the providedUnaryOperator
.default ConsistentHash
ConsistentHash.remapAddressRemoveMissing
(UnaryOperator<Address> remapper) Same asremapAddresses(UnaryOperator)
but skip missing members. -
Uses of ConsistentHash in org.infinispan.distribution.ch.impl
Modifier and TypeClassDescriptionclass
class
DefaultConsistentHash
implementation.class
Special implementation ofConsistentHash
for replicated caches.class
CH used by scattered caches.Modifier and TypeMethodDescriptionDefaultConsistentHash.remapAddresses
(UnaryOperator<Address> remapper) ReplicatedConsistentHash.remapAddresses
(UnaryOperator<Address> remapper) ScatteredConsistentHash.remapAddresses
(UnaryOperator<Address> remapper) DefaultConsistentHash.remapAddressRemoveMissing
(UnaryOperator<Address> remapper) -
Uses of ConsistentHash in org.infinispan.distribution.impl
Modifier and TypeMethodDescriptionDistributionManagerImpl.getReadConsistentHash()
DistributionManagerImpl.getWriteConsistentHash()
-
Uses of ConsistentHash in org.infinispan.notifications.cachelistener
Modifier and TypeMethodDescriptionCacheNotifier.notifyDataRehashed
(ConsistentHash oldCH, ConsistentHash newCH, ConsistentHash unionCH, int newTopologyId, boolean pre) CacheNotifierImpl.notifyDataRehashed
(ConsistentHash oldCH, ConsistentHash newCH, ConsistentHash unionCH, int newTopologyId, boolean pre) -
Uses of ConsistentHash in org.infinispan.notifications.cachelistener.event
Modifier and TypeMethodDescriptionDataRehashedEvent.getConsistentHashAtEnd()
default ConsistentHash
TopologyChangedEvent.getConsistentHashAtEnd()
Deprecated, for removal: This API element is subject to removal in a future version.DataRehashedEvent.getConsistentHashAtStart()
default ConsistentHash
TopologyChangedEvent.getConsistentHashAtStart()
Deprecated, for removal: This API element is subject to removal in a future version.TopologyChangedEvent.getReadConsistentHashAtEnd()
TopologyChangedEvent.getReadConsistentHashAtStart()
DataRehashedEvent.getUnionConsistentHash()
Deprecated, for removal: This API element is subject to removal in a future version.Since 9.0TopologyChangedEvent.getWriteConsistentHashAtEnd()
TopologyChangedEvent.getWriteConsistentHashAtStart()
-
Uses of ConsistentHash in org.infinispan.notifications.cachelistener.event.impl
Modifier and TypeMethodDescriptionEventImpl.getConsistentHashAtEnd()
EventImpl.getConsistentHashAtStart()
EventImpl.getReadConsistentHashAtEnd()
EventImpl.getReadConsistentHashAtStart()
EventImpl.getUnionConsistentHash()
EventImpl.getWriteConsistentHashAtEnd()
EventImpl.getWriteConsistentHashAtStart()
Modifier and TypeMethodDescriptionvoid
EventImpl.setReadConsistentHashAtEnd
(ConsistentHash readConsistentHashAtEnd) void
EventImpl.setReadConsistentHashAtStart
(ConsistentHash readConsistentHashAtStart) void
EventImpl.setUnionConsistentHash
(ConsistentHash unionConsistentHash) void
EventImpl.setWriteConsistentHashAtEnd
(ConsistentHash writeConsistentHashAtEnd) void
EventImpl.setWriteConsistentHashAtStart
(ConsistentHash writeConsistentHashAtStart) -
Uses of ConsistentHash in org.infinispan.partitionhandling.impl
Modifier and TypeMethodDescriptionAvailabilityStrategyContext.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) static ConsistentHash
AvailabilityStrategy.ownersConsistentHash
(CacheTopology topology, ConsistentHashFactory chFactory) Compute the read consistent hash for a topology with anull
union consistent hash.Modifier and TypeMethodDescriptionAvailabilityStrategyContext.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) Modifier and TypeMethodDescriptionAvailabilityStrategyContext.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) -
Uses of ConsistentHash in org.infinispan.scattered.impl
Modifier and TypeMethodDescriptionprotected void
ScatteredStateConsumerImpl.beforeTopologyInstalled
(int topologyId, ConsistentHash previousWriteCh, ConsistentHash newWriteCh) -
Uses of ConsistentHash in org.infinispan.server.hotrod.logging
Modifier and TypeMethodDescriptionvoid
Log.noMembersInHashTopology
(ConsistentHash ch, String topologyMap) -
Uses of ConsistentHash in org.infinispan.stream.impl
Modifier and TypeMethodDescriptionprotected boolean
AbstractCacheStream.isPrimaryOwner
(ConsistentHash ch, Object key) -
Uses of ConsistentHash in org.infinispan.topology
Modifier and TypeMethodDescriptionClusterCacheStatus.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) CacheTopology.getCurrentCH()
The current consistent hash.CacheTopology.getPendingCH()
The future consistent hash.CacheTopology.getReadConsistentHash()
Read operations should always go to the "current" owners.CacheTopology.getUnionCH()
The union of the current and future consistent hashes.CacheTopology.getWriteConsistentHash()
When there is a rebalance in progress, write operations should go to the union of the "current" and "future" owners.Modifier and TypeMethodDescriptionClusterCacheStatus.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) static boolean
ClusterTopologyManagerImpl.distLostDataCheck
(ConsistentHash stableCH, List<Address> newMembers) static boolean
ClusterTopologyManagerImpl.scatteredLostDataCheck
(ConsistentHash stableCH, List<Address> newMembers) Modifier and TypeMethodDescriptionClusterCacheStatus.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) ModifierConstructorDescriptionCacheTopology
(int topologyId, int rebalanceId, boolean restoredTopology, ConsistentHash currentCH, ConsistentHash pendingCH, ConsistentHash unionCH, CacheTopology.Phase phase, List<Address> actualMembers, List<PersistentUUID> persistentUUIDs) CacheTopology
(int topologyId, int rebalanceId, boolean restoredTopology, ConsistentHash currentCH, ConsistentHash pendingCH, CacheTopology.Phase phase, List<Address> actualMembers, List<PersistentUUID> persistentUUIDs) CacheTopology
(int topologyId, int rebalanceId, ConsistentHash currentCH, ConsistentHash pendingCH, ConsistentHash unionCH, CacheTopology.Phase phase, List<Address> actualMembers, List<PersistentUUID> persistentUUIDs) CacheTopology
(int topologyId, int rebalanceId, ConsistentHash currentCH, ConsistentHash pendingCH, CacheTopology.Phase phase, List<Address> actualMembers, List<PersistentUUID> persistentUUIDs)