Uses of Interface
org.infinispan.distribution.ch.ConsistentHash
-
Packages that use ConsistentHash Package Description org.infinispan.commands.topology org.infinispan.configuration.cache Cacheconfigurationorg.infinispan.distribution Classes relating to the distributed cache mode.org.infinispan.distribution.ch Consistent Hash interfacesorg.infinispan.distribution.ch.impl org.infinispan.distribution.impl org.infinispan.notifications.cachelistener Cache-specific notifications and eventing.org.infinispan.notifications.cachelistener.event Cache-specific listener eventsorg.infinispan.notifications.cachelistener.event.impl org.infinispan.partitionhandling.impl org.infinispan.scattered.impl org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.stream.impl org.infinispan.topology -
-
Uses of ConsistentHash in org.infinispan.commands.topology
Methods in org.infinispan.commands.topology that return ConsistentHash Modifier and Type Method Description ConsistentHashRebalanceStartCommand. getCurrentCH()ConsistentHashTopologyUpdateCommand. getCurrentCH()ConsistentHashTopologyUpdateStableCommand. getCurrentCH()ConsistentHashRebalanceStartCommand. getPendingCH()ConsistentHashTopologyUpdateCommand. getPendingCH()ConsistentHashTopologyUpdateStableCommand. getPendingCH() -
Uses of ConsistentHash in org.infinispan.configuration.cache
Method parameters in org.infinispan.configuration.cache with type arguments of type ConsistentHash Modifier and Type Method Description HashConfigurationBuilderHashConfigurationBuilder. consistentHashFactory(ConsistentHashFactory<? extends ConsistentHash> consistentHashFactory)Deprecated.Since 11.0. -
Uses of ConsistentHash in org.infinispan.distribution
Methods in org.infinispan.distribution that return ConsistentHash Modifier and Type Method Description ConsistentHashDistributionManager. getReadConsistentHash()Deprecated.Since 11.0, to be removed in 14.0.ConsistentHashDistributionManager. getWriteConsistentHash()Deprecated.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 ConsistentHash Modifier and Type Interface Description interfaceConsistentHashFactory<CH extends ConsistentHash>Deprecated.Since 11.0.Methods in org.infinispan.distribution.ch that return ConsistentHash Modifier and Type Method Description default ConsistentHashConsistentHash. remapAddresses(UnaryOperator<Address> remapper)Returns a new ConsistentHash with the addresses remapped according to the providedUnaryOperator. -
Uses of ConsistentHash in org.infinispan.distribution.ch.impl
Classes in org.infinispan.distribution.ch.impl with type parameters of type ConsistentHash Modifier and Type Class Description classAbstractConsistentHashFactory<CH extends ConsistentHash>Classes in org.infinispan.distribution.ch.impl that implement ConsistentHash Modifier and Type Class Description classAbstractConsistentHashclassDefaultConsistentHashDefaultConsistentHashimplementation.classReplicatedConsistentHashSpecial implementation ofConsistentHashfor replicated caches.classScatteredConsistentHashCH used by scattered caches.Methods in org.infinispan.distribution.ch.impl that return ConsistentHash Modifier and Type Method Description ConsistentHashDefaultConsistentHash. remapAddresses(UnaryOperator<Address> remapper)ConsistentHashReplicatedConsistentHash. remapAddresses(UnaryOperator<Address> remapper)ConsistentHashScatteredConsistentHash. remapAddresses(UnaryOperator<Address> remapper)Constructors in org.infinispan.distribution.ch.impl with parameters of type ConsistentHash Constructor Description OwnershipStatistics(ConsistentHash ch)OwnershipStatistics(ConsistentHash ch, List<Address> activeNodes) -
Uses of ConsistentHash in org.infinispan.distribution.impl
Methods in org.infinispan.distribution.impl that return ConsistentHash Modifier and Type Method Description ConsistentHashDistributionManagerImpl. getReadConsistentHash()ConsistentHashDistributionManagerImpl. getWriteConsistentHash() -
Uses of ConsistentHash in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener with parameters of type ConsistentHash Modifier and Type Method Description CompletionStage<Void>CacheNotifier. notifyDataRehashed(ConsistentHash oldCH, ConsistentHash newCH, ConsistentHash unionCH, int newTopologyId, boolean pre)CompletionStage<Void>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 ConsistentHash Modifier and Type Method Description ConsistentHashDataRehashedEvent. getConsistentHashAtEnd()default ConsistentHashTopologyChangedEvent. getConsistentHashAtEnd()Deprecated.ConsistentHashDataRehashedEvent. getConsistentHashAtStart()default ConsistentHashTopologyChangedEvent. getConsistentHashAtStart()Deprecated.ConsistentHashTopologyChangedEvent. getReadConsistentHashAtEnd()ConsistentHashTopologyChangedEvent. getReadConsistentHashAtStart()ConsistentHashDataRehashedEvent. getUnionConsistentHash()Deprecated.Since 9.0ConsistentHashTopologyChangedEvent. getWriteConsistentHashAtEnd()ConsistentHashTopologyChangedEvent. getWriteConsistentHashAtStart() -
Uses of ConsistentHash in org.infinispan.notifications.cachelistener.event.impl
Methods in org.infinispan.notifications.cachelistener.event.impl that return ConsistentHash Modifier and Type Method Description ConsistentHashEventImpl. getConsistentHashAtEnd()ConsistentHashEventImpl. getConsistentHashAtStart()ConsistentHashEventImpl. getReadConsistentHashAtEnd()ConsistentHashEventImpl. getReadConsistentHashAtStart()ConsistentHashEventImpl. getUnionConsistentHash()ConsistentHashEventImpl. getWriteConsistentHashAtEnd()ConsistentHashEventImpl. getWriteConsistentHashAtStart()Methods in org.infinispan.notifications.cachelistener.event.impl with parameters of type ConsistentHash Modifier and Type Method Description voidEventImpl. 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 ConsistentHash Modifier and Type Method Description ConsistentHashAvailabilityStrategyContext. 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 ConsistentHash Modifier and Type Method Description ConsistentHashAvailabilityStrategyContext. calculateConflictHash(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers)Method parameters in org.infinispan.partitionhandling.impl with type arguments of type ConsistentHash Modifier and Type Method Description ConsistentHashAvailabilityStrategyContext. calculateConflictHash(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers) -
Uses of ConsistentHash in org.infinispan.scattered.impl
Methods in org.infinispan.scattered.impl with parameters of type ConsistentHash Modifier and Type Method Description protected voidScatteredStateConsumerImpl. beforeTopologyInstalled(int topologyId, boolean startRebalance, ConsistentHash previousWriteCh, ConsistentHash newWriteCh) -
Uses of ConsistentHash in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer with parameters of type ConsistentHash Modifier and Type Method Description protected voidStateConsumerImpl. beforeTopologyInstalled(int topologyId, boolean startRebalance, ConsistentHash previousWriteCh, ConsistentHash newWriteCh)protected org.infinispan.commons.util.IntSetStateConsumerImpl. getOwnedSegments(ConsistentHash consistentHash) -
Uses of ConsistentHash in org.infinispan.stream.impl
Methods in org.infinispan.stream.impl with parameters of type ConsistentHash Modifier and Type Method Description protected booleanAbstractCacheStream. isPrimaryOwner(ConsistentHash ch, Object key) -
Uses of ConsistentHash in org.infinispan.topology
Methods in org.infinispan.topology that return ConsistentHash Modifier and Type Method Description ConsistentHashClusterCacheStatus. calculateConflictHash(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers)ConsistentHashCacheTopology. getCurrentCH()The current consistent hash.ConsistentHashCacheTopology. getPendingCH()The future consistent hash.ConsistentHashCacheTopology. getReadConsistentHash()Read operations should always go to the "current" owners.ConsistentHashCacheTopology. getUnionCH()The union of the current and future consistent hashes.ConsistentHashCacheTopology. 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 ConsistentHash Modifier and Type Method Description ConsistentHashClusterCacheStatus. calculateConflictHash(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers)static booleanClusterTopologyManagerImpl. distLostDataCheck(ConsistentHash stableCH, List<Address> newMembers)static booleanClusterTopologyManagerImpl. scatteredLostDataCheck(ConsistentHash stableCH, List<Address> newMembers)Method parameters in org.infinispan.topology with type arguments of type ConsistentHash Modifier and Type Method Description ConsistentHashClusterCacheStatus. calculateConflictHash(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers)Constructors in org.infinispan.topology with parameters of type ConsistentHash Constructor Description 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)
-