Uses of Interface
org.infinispan.distribution.ch.ConsistentHash
-
Packages that use ConsistentHash Package Description org.infinispan.configuration.cache Cache
configurationorg.infinispan.distribution Classes relating to the distributed cache mode.org.infinispan.distribution.ch Consistent Hash interfacesorg.infinispan.distribution.topologyaware org.infinispan.distribution.util org.infinispan.notifications.cachelistener Cache
-specific notifications and eventing.org.infinispan.notifications.cachelistener.event Cache
-specific listener eventsorg.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.topology -
-
Uses of ConsistentHash in org.infinispan.configuration.cache
Methods in org.infinispan.configuration.cache that return ConsistentHash Modifier and Type Method Description ConsistentHash
HashConfiguration. consistentHash()
Deprecated.Since 5.2, replaced byHashConfiguration.consistentHashFactory()
.Methods in org.infinispan.configuration.cache with parameters of type ConsistentHash Modifier and Type Method Description HashConfigurationBuilder
HashConfigurationBuilder. consistentHash(ConsistentHash consistentHash)
Deprecated.Since 5.2, replaced byHashConfigurationBuilder.consistentHashFactory(ConsistentHashFactory)
.Method parameters in org.infinispan.configuration.cache with type arguments of type ConsistentHash Modifier and Type Method Description HashConfigurationBuilder
HashConfigurationBuilder. consistentHashFactory(ConsistentHashFactory<? extends ConsistentHash> consistentHashFactory)
The consistent hash factory in use. -
Uses of ConsistentHash in org.infinispan.distribution
Methods in org.infinispan.distribution that return ConsistentHash Modifier and Type Method Description default ConsistentHash
DistributionManager. getConsistentHash()
Deprecated.Since 9.0, please useDistributionManager.getWriteConsistentHash()
instead.ConsistentHash
DistributionManager. getReadConsistentHash()
ConsistentHash
DistributionManager. getWriteConsistentHash()
-
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 interface
ConsistentHashFactory<CH extends ConsistentHash>
Factory forConsistentHash
instances.Methods in org.infinispan.distribution.ch that return ConsistentHash Modifier and Type Method Description default ConsistentHash
ConsistentHash. remapAddresses(UnaryOperator<Address> remapper)
Returns a new ConsistentHash with the addresses remapped according to the providedUnaryOperator
. -
Uses of ConsistentHash in org.infinispan.distribution.topologyaware
Constructors in org.infinispan.distribution.topologyaware with parameters of type ConsistentHash Constructor Description TopologyInfo(ConsistentHash ch)
-
Uses of ConsistentHash in org.infinispan.distribution.util
Fields in org.infinispan.distribution.util declared as ConsistentHash Modifier and Type Field Description protected ConsistentHash
ReadOnlySegmentAwareCollection. ch
protected ConsistentHash
ReadOnlySegmentAwareIterator. ch
protected ConsistentHash
ReadOnlySegmentAwareMap. ch
Constructors in org.infinispan.distribution.util with parameters of type ConsistentHash Constructor Description ReadOnlySegmentAwareCollection(Collection<E> set, ConsistentHash ch, IntSet allowedSegments)
ReadOnlySegmentAwareEntryCollection(Set<Map.Entry<K,V>> set, ConsistentHash ch, IntSet allowedSegments)
ReadOnlySegmentAwareEntryIterator(Iterator<Map.Entry<K,V>> iter, ConsistentHash ch, IntSet allowedSegments)
ReadOnlySegmentAwareIterator(Iterator<E> iter, ConsistentHash ch, IntSet allowedSegments)
ReadOnlySegmentAwareMap(Map<K,V> map, ConsistentHash ch, IntSet allowedSegments)
-
Uses of ConsistentHash in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener with parameters of type ConsistentHash Modifier and Type Method Description void
CacheNotifier. notifyDataRehashed(ConsistentHash oldCH, ConsistentHash newCH, ConsistentHash unionCH, int newTopologyId, boolean pre)
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 ConsistentHash
DataRehashedEvent. getConsistentHashAtEnd()
default ConsistentHash
TopologyChangedEvent. getConsistentHashAtEnd()
Deprecated.ConsistentHash
DataRehashedEvent. getConsistentHashAtStart()
default ConsistentHash
TopologyChangedEvent. getConsistentHashAtStart()
Deprecated.ConsistentHash
TopologyChangedEvent. getReadConsistentHashAtEnd()
ConsistentHash
TopologyChangedEvent. getReadConsistentHashAtStart()
ConsistentHash
DataRehashedEvent. getUnionConsistentHash()
Deprecated.Since 9.0ConsistentHash
TopologyChangedEvent. getWriteConsistentHashAtEnd()
ConsistentHash
TopologyChangedEvent. getWriteConsistentHashAtStart()
-
Uses of ConsistentHash in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer with parameters of type ConsistentHash Modifier and Type Method Description protected void
StateConsumerImpl. beforeTopologyInstalled(int topologyId, boolean startRebalance, ConsistentHash previousWriteCh, ConsistentHash newWriteCh)
protected IntSet
StateConsumerImpl. getOwnedSegments(ConsistentHash consistentHash)
-
Uses of ConsistentHash in org.infinispan.topology
Methods in org.infinispan.topology that return ConsistentHash Modifier and Type Method Description ConsistentHash
ClusterCacheStatus. calculateConflictHash(ConsistentHash preferredHash, Set<ConsistentHash> distinctHashes, List<Address> actualMembers)
ConsistentHash
CacheTopology. getCurrentCH()
The current consistent hash.ConsistentHash
CacheTopologyControlCommand. getCurrentCH()
ConsistentHash
CacheTopology. getPendingCH()
The future consistent hash.ConsistentHash
CacheTopologyControlCommand. getPendingCH()
ConsistentHash
CacheTopology. getReadConsistentHash()
Read operations should always go to the "current" owners.ConsistentHash
CacheTopology. getUnionCH()
The union of the current and future consistent hashes.ConsistentHash
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 ConsistentHash Modifier and Type Method Description ConsistentHash
ClusterCacheStatus. 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)
Method parameters in org.infinispan.topology with type arguments of type ConsistentHash Modifier and Type Method Description ConsistentHash
ClusterCacheStatus. 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)
-