Uses of Interface
org.infinispan.distribution.ch.ConsistentHash
Packages that use 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
Method parameters in org.infinispan.configuration.cache with type arguments of type ConsistentHashModifier 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
Methods in org.infinispan.distribution that return ConsistentHashModifier 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
Classes in org.infinispan.distribution.ch with type parameters of type ConsistentHashModifier and TypeInterfaceDescriptioninterface
ConsistentHashFactory<CH extends ConsistentHash>
Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0.Methods in org.infinispan.distribution.ch that return ConsistentHashModifier 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
Classes in org.infinispan.distribution.ch.impl with type parameters of type ConsistentHashClasses in org.infinispan.distribution.ch.impl that implement ConsistentHashModifier and TypeClassDescriptionclass
class
DefaultConsistentHash
implementation.class
Special implementation ofConsistentHash
for replicated caches.Methods in org.infinispan.distribution.ch.impl that return ConsistentHashModifier and TypeMethodDescriptionDefaultConsistentHash.remapAddresses
(UnaryOperator<Address> remapper) ReplicatedConsistentHash.remapAddresses
(UnaryOperator<Address> remapper) DefaultConsistentHash.remapAddressRemoveMissing
(UnaryOperator<Address> remapper) Constructors in org.infinispan.distribution.ch.impl with parameters of type ConsistentHash -
Uses of ConsistentHash in org.infinispan.distribution.impl
Methods in org.infinispan.distribution.impl that return ConsistentHashModifier and TypeMethodDescriptionDistributionManagerImpl.getReadConsistentHash()
DistributionManagerImpl.getWriteConsistentHash()
-
Uses of ConsistentHash in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener with parameters of type ConsistentHashModifier 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
Methods in org.infinispan.notifications.cachelistener.event that return ConsistentHashModifier and TypeMethodDescriptionDataRehashedEvent.getConsistentHashAtEnd()
DataRehashedEvent.getConsistentHashAtStart()
TopologyChangedEvent.getReadConsistentHashAtEnd()
TopologyChangedEvent.getReadConsistentHashAtStart()
TopologyChangedEvent.getWriteConsistentHashAtEnd()
TopologyChangedEvent.getWriteConsistentHashAtStart()
-
Uses of ConsistentHash in org.infinispan.notifications.cachelistener.event.impl
Methods in org.infinispan.notifications.cachelistener.event.impl that return ConsistentHashModifier and TypeMethodDescriptionEventImpl.getConsistentHashAtEnd()
EventImpl.getConsistentHashAtStart()
EventImpl.getReadConsistentHashAtEnd()
EventImpl.getReadConsistentHashAtStart()
EventImpl.getWriteConsistentHashAtEnd()
EventImpl.getWriteConsistentHashAtStart()
Methods in org.infinispan.notifications.cachelistener.event.impl with parameters of type ConsistentHashModifier 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
Methods in org.infinispan.partitionhandling.impl that return ConsistentHashModifier 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.Methods in org.infinispan.partitionhandling.impl with parameters of type ConsistentHashModifier and TypeMethodDescriptionAvailabilityStrategyContext.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) Method parameters in org.infinispan.partitionhandling.impl with type arguments of type ConsistentHashModifier and TypeMethodDescriptionAvailabilityStrategyContext.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) -
Uses of ConsistentHash in org.infinispan.server.core.logging
Methods in org.infinispan.server.core.logging with parameters of type ConsistentHashModifier and TypeMethodDescriptionvoid
Log.noMembersInHashTopology
(ConsistentHash ch, String topologyMap) -
Uses of ConsistentHash in org.infinispan.server.resp.commands.cluster
Fields in org.infinispan.server.resp.commands.cluster declared as ConsistentHash -
Uses of ConsistentHash in org.infinispan.stream.impl
Methods in org.infinispan.stream.impl with parameters of type ConsistentHashModifier and TypeMethodDescriptionprotected boolean
AbstractCacheStream.isPrimaryOwner
(ConsistentHash ch, Object key) -
Uses of ConsistentHash in org.infinispan.topology
Methods in org.infinispan.topology that return ConsistentHashModifier 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.Methods in org.infinispan.topology with parameters of type ConsistentHashModifier and TypeMethodDescriptionClusterCacheStatus.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) static boolean
ClusterTopologyManagerImpl.distLostDataCheck
(ConsistentHash stableCH, List<Address> newMembers) Method parameters in org.infinispan.topology with type arguments of type ConsistentHashModifier and TypeMethodDescriptionClusterCacheStatus.calculateConflictHash
(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) Constructors in org.infinispan.topology with parameters of type ConsistentHashModifierConstructorDescriptionCacheTopology
(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)