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 recordPersistedConsistentHash<CH extends ConsistentHash>A record containing theConsistentHashrestored from persistent state and any missingUUIDs. -
Uses of ConsistentHash in org.infinispan.distribution.ch.impl
Classes in org.infinispan.distribution.ch.impl with type parameters of type ConsistentHashModifier and TypeClassDescriptionclassAbstractConsistentHashFactory<CH extends ConsistentHash>interfaceConsistentHashFactory<CH extends ConsistentHash>Factory forConsistentHashinstances.Classes in org.infinispan.distribution.ch.impl that implement ConsistentHashModifier and TypeClassDescriptionclassclassDefaultConsistentHashimplementation.classSpecial implementation ofConsistentHashfor 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 TypeMethodDescriptionvoidEventImpl.setReadConsistentHashAtEnd(ConsistentHash readConsistentHashAtEnd) voidEventImpl.setReadConsistentHashAtStart(ConsistentHash readConsistentHashAtStart) voidEventImpl.setUnionConsistentHash(ConsistentHash unionConsistentHash) voidEventImpl.setWriteConsistentHashAtEnd(ConsistentHash writeConsistentHashAtEnd) voidEventImpl.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 ConsistentHashAvailabilityStrategy.ownersConsistentHash(CacheTopology topology, ConsistentHashFactory chFactory) Compute the read consistent hash for a topology with anullunion 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 booleanAvailabilityStrategy.isDataLost(ConsistentHash consistentHash, Collection<Address> members) Checks that all segments have, at least, one owner online to ensure data availability.static <T> booleanAvailabilityStrategy.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 voidLog_$logger.noMembersInHashTopology(ConsistentHash ch, String topologyMap) voidLog.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 booleanAbstractCacheStream.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)