Uses of Interface
org.infinispan.distribution.ch.ConsistentHash
Packages that use ConsistentHash
Package
Description
Consistent Hash interfaces
Cache
-specific notifications and eventing.Cache
-specific listener events-
Uses of ConsistentHash in org.infinispan.distribution.ch
Classes in org.infinispan.distribution.ch with type parameters of type ConsistentHashModifier and TypeClassDescriptionfinal record
PersistedConsistentHash<CH extends ConsistentHash>
A record containing theConsistentHash
restored from persistent state and any missingUUID
s. -
Uses of ConsistentHash in org.infinispan.distribution.ch.impl
Classes in org.infinispan.distribution.ch.impl with type parameters of type ConsistentHashModifier and TypeClassDescriptionclass
AbstractConsistentHashFactory<CH extends ConsistentHash>
interface
ConsistentHashFactory<CH extends ConsistentHash>
Factory forConsistentHash
instances.Classes in org.infinispan.distribution.ch.impl that implement ConsistentHashModifier and TypeClassDescriptionclass
class
DefaultConsistentHash
implementation.class
Special implementation ofConsistentHash
for replicated caches.Constructors in org.infinispan.distribution.ch.impl with parameters of type ConsistentHash -
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) static boolean
AvailabilityStrategy.isDataLost
(ConsistentHash consistentHash, Collection<Address> members) Checks that all segments have, at least, one owner online to ensure data availability.static <T> boolean
AvailabilityStrategy.isDataLost
(ConsistentHash consistentHash, Collection<T> members, Function<Address, T> addressMapper) Checks that all segments have, at least, one owner online to ensure data availability.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 TypeMethodDescriptionfinal void
Log_$logger.noMembersInHashTopology
(ConsistentHash ch, String topologyMap) void
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) 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<UUID> persistentUUIDs) CacheTopology
(int topologyId, int rebalanceId, boolean restoredTopology, ConsistentHash currentCH, ConsistentHash pendingCH, CacheTopology.Phase phase, List<Address> actualMembers, List<UUID> persistentUUIDs) CacheTopology
(int topologyId, int rebalanceId, ConsistentHash currentCH, ConsistentHash pendingCH, ConsistentHash unionCH, CacheTopology.Phase phase, List<Address> actualMembers, List<UUID> persistentUUIDs) CacheTopology
(int topologyId, int rebalanceId, ConsistentHash currentCH, ConsistentHash pendingCH, CacheTopology.Phase phase, List<Address> actualMembers, List<UUID> persistentUUIDs)