Uses of Class
org.infinispan.topology.CacheTopology
-
Packages that use CacheTopology Package Description org.infinispan.conflict.impl This package contains implementations of the conflict resolution API.org.infinispan.distribution Classes relating to the distributed cache mode.org.infinispan.distribution.impl org.infinispan.notifications.cachelistener Cache-specific notifications and eventing.org.infinispan.partitionhandling.impl org.infinispan.scattered.impl org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.topology org.infinispan.transaction.impl org.infinispan.util General utilities that are not specific to Infinispan, including string parsing helpers, reflection tools and collections and containers designed to supplement the JDK-provided containers.org.infinispan.util.logging Infinispan's logging abstractions that delegate to either JDK or Log4J logging engines. -
-
Uses of CacheTopology in org.infinispan.conflict.impl
Methods in org.infinispan.conflict.impl with parameters of type CacheTopology Modifier and Type Method Description CompletableFuture<Void>DefaultConflictManager. resolveConflicts(CacheTopology topology, Set<Address> preferredNodes)CompletableFuture<Void>InternalConflictManager. resolveConflicts(CacheTopology cacheTopology, Set<Address> preferredNodes) -
Uses of CacheTopology in org.infinispan.distribution
Subclasses of CacheTopology in org.infinispan.distribution Modifier and Type Class Description classLocalizedCacheTopologyExtendsCacheTopologywith information about keys owned by the local node.Methods in org.infinispan.distribution with parameters of type CacheTopology Modifier and Type Method Description LocalizedCacheTopologyDistributionManager. createLocalizedCacheTopology(CacheTopology cacheTopology)voidDistributionManager. setCacheTopology(CacheTopology cacheTopology)Deprecated.Internal only.Constructors in org.infinispan.distribution with parameters of type CacheTopology Constructor Description LocalizedCacheTopology(CacheMode cacheMode, CacheTopology cacheTopology, KeyPartitioner keyPartitioner, Address localAddress, boolean connected) -
Uses of CacheTopology in org.infinispan.distribution.impl
Methods in org.infinispan.distribution.impl with parameters of type CacheTopology Modifier and Type Method Description LocalizedCacheTopologyDistributionManagerImpl. createLocalizedCacheTopology(CacheTopology cacheTopology)voidDistributionManagerImpl. setCacheTopology(CacheTopology cacheTopology) -
Uses of CacheTopology in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener with parameters of type CacheTopology Modifier and Type Method Description voidCacheNotifier. notifyTopologyChanged(CacheTopology oldTopology, CacheTopology newTopology, int newTopologyId, boolean pre)voidCacheNotifierImpl. notifyTopologyChanged(CacheTopology oldTopology, CacheTopology newTopology, int newTopologyId, boolean pre) -
Uses of CacheTopology in org.infinispan.partitionhandling.impl
Methods in org.infinispan.partitionhandling.impl that return CacheTopology Modifier and Type Method Description CacheTopologyPreferAvailabilityStrategy. computePreferredTopology(Map<Address,CacheStatusResponse> statusResponseMap)Ignore the AvailabilityStrategyContext and only compute the preferred topology for testing.CacheTopologyAvailabilityStrategyContext. getCurrentTopology()CacheTopologyAvailablePartitionHandlingManager. getLastStableTopology()CacheTopologyPartitionHandlingManager. getLastStableTopology()Deprecated.CacheTopologyPartitionHandlingManagerImpl. getLastStableTopology()CacheTopologyAvailabilityStrategyContext. getStableTopology()Whenever a new cache topology without apendingCHand with at leastnumOwnersowners for each segment is installed, and the cache isAvailabilityMode.AVAILABLE, the current cache topology is marked as the stable topology.Methods in org.infinispan.partitionhandling.impl with parameters of type CacheTopology Modifier and Type Method Description voidAvailablePartitionHandlingManager. onTopologyUpdate(CacheTopology cacheTopology)voidPartitionHandlingManager. onTopologyUpdate(CacheTopology cacheTopology)Notifies thePartitionHandlingManagerthat the cache topology was update.voidPartitionHandlingManagerImpl. onTopologyUpdate(CacheTopology cacheTopology)static ConsistentHashAvailabilityStrategy. ownersConsistentHash(CacheTopology topology, ConsistentHashFactory chFactory)Compute the read consistent hash for a topology with anullunion consistent hash.voidAvailabilityStrategyContext. queueConflictResolution(CacheTopology conflictTopology, Set<Address> preferredNodes)Initiates conflict resolution using the conflictTopology, which should have already been broadcast via {@link this#updateTopologiesAfterMerge(CacheTopology, CacheTopology, AvailabilityMode)}voidAvailabilityStrategyContext. updateTopologiesAfterMerge(CacheTopology currentTopology, CacheTopology stableTopology, AvailabilityMode availabilityMode)Updates both the stable and the current topologies. -
Uses of CacheTopology in org.infinispan.scattered.impl
Methods in org.infinispan.scattered.impl with parameters of type CacheTopology Modifier and Type Method Description CompletableFuture<Void>ScatteredStateConsumerImpl. onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance)CompletableFuture<Void>ScatteredStateProviderImpl. onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance) -
Uses of CacheTopology in org.infinispan.statetransfer
Fields in org.infinispan.statetransfer declared as CacheTopology Modifier and Type Field Description protected CacheTopologyStateConsumerImpl. cacheTopologyMethods in org.infinispan.statetransfer that return CacheTopology Modifier and Type Method Description CacheTopologyStateConsumer. getCacheTopology()Deprecated.Since 9.3, please useDistributionManager.getCacheTopology()instead.CacheTopologyStateConsumerImpl. getCacheTopology()CacheTopologyStateTransferManager. getCacheTopology()Deprecated.Since 9.3, please useDistributionManager.getCacheTopology()instead.CacheTopologyStateTransferManagerImpl. getCacheTopology()Methods in org.infinispan.statetransfer with parameters of type CacheTopology Modifier and Type Method Description CompletableFuture<Void>StateConsumer. onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance)Receive notification of topology changes.CompletableFuture<Void>StateConsumerImpl. onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance)CompletableFuture<Void>StateProvider. onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance)Receive notification of topology changes.CompletableFuture<Void>StateProviderImpl. onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance) -
Uses of CacheTopology in org.infinispan.topology
Methods in org.infinispan.topology that return types with arguments of type CacheTopology Modifier and Type Method Description Set<Class<? extends CacheTopology>>CacheTopology.Externalizer. getTypeClasses()Methods in org.infinispan.topology with parameters of type CacheTopology Modifier and Type Method Description voidClusterTopologyManager. broadcastRebalanceStart(String cacheName, CacheTopology cacheTopology, boolean totalOrder, boolean distributed)voidClusterTopologyManagerImpl. broadcastRebalanceStart(String cacheName, CacheTopology cacheTopology, boolean totalOrder, boolean distributed)voidClusterTopologyManager. broadcastShutdownCache(String cacheName, CacheTopology currentTopology, boolean totalOrder, boolean distributed)voidClusterTopologyManagerImpl. broadcastShutdownCache(String cacheName, CacheTopology cacheTopology, boolean totalOrder, boolean distributed)voidClusterTopologyManager. broadcastStableTopologyUpdate(String cacheName, CacheTopology cacheTopology, boolean totalOrder, boolean distributed)voidClusterTopologyManagerImpl. broadcastStableTopologyUpdate(String cacheName, CacheTopology cacheTopology, boolean totalOrder, boolean distributed)voidClusterTopologyManager. broadcastTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, boolean totalOrder, boolean distributed)voidClusterTopologyManagerImpl. broadcastTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, boolean totalOrder, boolean distributed)voidCacheTopology.Externalizer. doWriteObject(ObjectOutput output, CacheTopology cacheTopology)voidLocalTopologyManager. handleRebalance(String cacheName, CacheTopology cacheTopology, int viewId, Address sender)Performs the state transfer.voidLocalTopologyManagerImpl. handleRebalance(String cacheName, CacheTopology cacheTopology, int viewId, Address sender)voidLocalTopologyManager. handleStableTopologyUpdate(String cacheName, CacheTopology cacheTopology, Address sender, int viewId)Update the stable cache topology.voidLocalTopologyManagerImpl. handleStableTopologyUpdate(String cacheName, CacheTopology newStableTopology, Address sender, int viewId)voidLocalTopologyManager. handleTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId, Address sender)Updates the current and/or pending consistent hash, without transferring any state.voidLocalTopologyManagerImpl. handleTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId, Address sender)voidClusterCacheStatus. queueConflictResolution(CacheTopology conflictTopology, Set<Address> preferredNodes)voidCacheTopologyHandler. rebalance(CacheTopology cacheTopology)Invoked when state transfer has to be started.voidCacheTopologyHandler. updateConsistentHash(CacheTopology cacheTopology)Invoked when the CH has to be immediately updated because of a leave or when the state transfer has completed and we have to install a permanent CH (pendingCH == null).voidClusterCacheStatus. updateTopologiesAfterMerge(CacheTopology currentTopology, CacheTopology stableTopology, AvailabilityMode availabilityMode)Constructors in org.infinispan.topology with parameters of type CacheTopology Constructor Description CacheStatusResponse(CacheJoinInfo cacheJoinInfo, CacheTopology cacheTopology, CacheTopology stableTopology, AvailabilityMode availabilityMode)CacheTopologyControlCommand(String cacheName, CacheTopologyControlCommand.Type type, Address sender, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId) -
Uses of CacheTopology in org.infinispan.transaction.impl
Methods in org.infinispan.transaction.impl with parameters of type CacheTopology Modifier and Type Method Description Collection<Address>LocalTransaction. getCommitNodes(Collection<Address> recipients, CacheTopology cacheTopology)Calculates the list of nodes to which a commit/rollback needs to be sent based on the nodes to which prepare was sent. -
Uses of CacheTopology in org.infinispan.util
Methods in org.infinispan.util that return CacheTopology Modifier and Type Method Description CacheTopologyAbstractControlledLocalTopologyManager. getCacheTopology(String cacheName)CacheTopologyAbstractControlledLocalTopologyManager. getStableCacheTopology(String cacheName)CacheTopologyAbstractControlledLocalTopologyManager. join(String cacheName, CacheJoinInfo joinInfo, CacheTopologyHandler stm, PartitionHandlingManager phm)Methods in org.infinispan.util with parameters of type CacheTopology Modifier and Type Method Description protected voidAbstractControlledLocalTopologyManager. beforeHandleRebalance(String cacheName, CacheTopology cacheTopology, int viewId)protected voidAbstractControlledLocalTopologyManager. beforeHandleTopologyUpdate(String cacheName, CacheTopology cacheTopology, int viewId)voidAbstractControlledLocalTopologyManager. handleRebalance(String cacheName, CacheTopology cacheTopology, int viewId, Address sender)voidAbstractControlledLocalTopologyManager. handleStableTopologyUpdate(String cacheName, CacheTopology cacheTopology, Address sender, int viewId)voidAbstractControlledLocalTopologyManager. handleTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId, Address sender) -
Uses of CacheTopology in org.infinispan.util.logging
Methods in org.infinispan.util.logging with parameters of type CacheTopology Modifier and Type Method Description voidLog_$logger. cacheRecoveredAfterMerge(String cacheName, CacheTopology currentTopology, AvailabilityMode availabilityMode)voidLog. cacheRecoveredAfterMerge(String cacheName, CacheTopology currentTopology, AvailabilityMode availabilityMode)voidLog_$logger. cancelledConflictResolution(String cacheName, CacheTopology currentTopology)voidLog. cancelledConflictResolution(String cacheName, CacheTopology currentTopology)voidLog_$logger. failedConflictResolution(String cacheName, CacheTopology currentTopology, Throwable t)voidLog. failedConflictResolution(String cacheName, CacheTopology currentTopology, Throwable t)voidLog_$logger. finishedConflictResolution(String cacheName, CacheTopology currentTopology)voidLog. finishedConflictResolution(String cacheName, CacheTopology currentTopology)voidLog_$logger. finishedRebalance(String cacheName, CacheTopology topology)voidLog. finishedRebalance(String cacheName, CacheTopology topology)voidLog_$logger. ignoringCacheTopology(Collection<Address> sender, CacheTopology topology)voidLog. ignoringCacheTopology(Collection<Address> sender, CacheTopology topology)voidLog_$logger. startingConflictResolution(String cacheName, CacheTopology currentTopology)voidLog. startingConflictResolution(String cacheName, CacheTopology currentTopology)voidLog_$logger. startingRebalancePhase(String cacheName, CacheTopology cacheTopology)voidLog. startingRebalancePhase(String cacheName, CacheTopology cacheTopology)voidLog_$logger. updatingAvailabilityMode(String cacheName, AvailabilityMode oldMode, AvailabilityMode newMode, CacheTopology topology)voidLog. updatingAvailabilityMode(String cacheName, AvailabilityMode oldMode, AvailabilityMode newMode, CacheTopology topology)voidLog_$logger. updatingStableTopology(String cacheName, CacheTopology currentTopology)voidLog. updatingStableTopology(String cacheName, CacheTopology currentTopology)voidLog_$logger. updatingTopology(String cacheName, CacheTopology currentTopology, AvailabilityMode availabilityMode)voidLog. updatingTopology(String cacheName, CacheTopology currentTopology, AvailabilityMode availabilityMode)
-