Uses of Class
org.infinispan.topology.CacheTopology
Packages that use CacheTopology
Package
Description
Classes relating to the distributed cache mode.
Cache-specific notifications and eventing.-
Uses of CacheTopology in org.infinispan.container.versioning.irac
Methods in org.infinispan.container.versioning.irac with parameters of type CacheTopologyModifier and TypeMethodDescriptionvoidDefaultIracVersionGenerator.onTopologyChange(CacheTopology newTopology) voidIracVersionGenerator.onTopologyChange(CacheTopology newTopology) Invoked when a topology change occurs in the cluster.voidNoOpIracVersionGenerator.onTopologyChange(CacheTopology newTopology) -
Uses of CacheTopology in org.infinispan.distribution
Subclasses of CacheTopology in org.infinispan.distributionModifier and TypeClassDescriptionclassExtendsCacheTopologywith information about keys owned by the local node.Methods in org.infinispan.distribution with parameters of type CacheTopologyModifier and TypeMethodDescriptionDistributionManager.createLocalizedCacheTopology(CacheTopology cacheTopology) voidDistributionManager.setCacheTopology(CacheTopology cacheTopology) Deprecated, for removal: This API element is subject to removal in a future version.Internal only.Constructors in org.infinispan.distribution with parameters of type CacheTopologyModifierConstructorDescriptionLocalizedCacheTopology(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 CacheTopologyModifier and TypeMethodDescriptionDistributionManagerImpl.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 CacheTopologyModifier and TypeMethodDescriptionCacheNotifier.notifyTopologyChanged(CacheTopology oldTopology, CacheTopology newTopology, int newTopologyId, boolean pre) CacheNotifierImpl.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 CacheTopologyModifier and TypeMethodDescriptionPreferAvailabilityStrategy.computePreferredTopology(Map<Address, CacheStatusResponse> statusResponseMap) Ignore the AvailabilityStrategyContext and only compute the preferred topology for testing.AvailabilityStrategyContext.getCurrentTopology()AvailablePartitionHandlingManager.getLastStableTopology()PartitionHandlingManager.getLastStableTopology()Deprecated.PartitionHandlingManagerImpl.getLastStableTopology()AvailabilityStrategyContext.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 CacheTopologyModifier and TypeMethodDescriptionvoidAvailablePartitionHandlingManager.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 CacheTopologyModifier and TypeMethodDescriptionScatteredStateConsumerImpl.onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance) ScatteredStateProviderImpl.onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance) -
Uses of CacheTopology in org.infinispan.topology
Methods in org.infinispan.topology that return CacheTopologyModifier and TypeMethodDescriptionprotected CacheTopologyClusterCacheStatus.createInitialCacheTopology()CacheTopology.Externalizer.doReadObject(ObjectInput unmarshaller) CacheStatusResponse.getCacheTopology()LocalTopologyManager.getCacheTopology(String cacheName) LocalTopologyManagerImpl.getCacheTopology(String cacheName) ClusterCacheStatus.getCurrentTopology()LocalTopologyManager.getStableCacheTopology(String cacheName) LocalTopologyManagerImpl.getStableCacheTopology(String cacheName) CacheStatusResponse.getStableTopology()ClusterCacheStatus.getStableTopology()protected CacheTopologyClusterCacheStatus.restoreCacheTopology(ScopedPersistentState state) Methods in org.infinispan.topology that return types with arguments of type CacheTopologyModifier and TypeMethodDescriptionSet<Class<? extends CacheTopology>>CacheTopology.Externalizer.getTypeClasses()LocalTopologyManager.join(String cacheName, CacheJoinInfo joinInfo, CacheTopologyHandler stm, PartitionHandlingManager phm) Forwards the join request to the coordinator.LocalTopologyManagerImpl.join(String cacheName, CacheJoinInfo joinInfo, CacheTopologyHandler stm, PartitionHandlingManager phm) Methods in org.infinispan.topology with parameters of type CacheTopologyModifier and TypeMethodDescriptionvoidCacheTopology.Externalizer.doWriteObject(ObjectOutput output, CacheTopology cacheTopology) LocalTopologyManager.handleRebalance(String cacheName, CacheTopology cacheTopology, int viewId, Address sender) Performs the state transfer.LocalTopologyManagerImpl.handleRebalance(String cacheName, CacheTopology cacheTopology, int viewId, Address sender) LocalTopologyManager.handleStableTopologyUpdate(String cacheName, CacheTopology cacheTopology, Address sender, int viewId) Update the stable cache topology.LocalTopologyManagerImpl.handleStableTopologyUpdate(String cacheName, CacheTopology newStableTopology, Address sender, int viewId) LocalTopologyManager.handleTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId, Address sender) Updates the current and/or pending consistent hash, without transferring any state.LocalTopologyManagerImpl.handleTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId, Address sender) voidClusterCacheStatus.queueConflictResolution(CacheTopology conflictTopology, Set<Address> preferredNodes) CacheTopologyHandler.rebalance(CacheTopology cacheTopology) Invoked when state transfer has to be started.CacheTopologyHandler.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 CacheTopologyModifierConstructorDescriptionCacheStatusResponse(CacheJoinInfo cacheJoinInfo, CacheTopology cacheTopology, CacheTopology stableTopology, AvailabilityMode availabilityMode, List<Address> current) -
Uses of CacheTopology in org.infinispan.transaction.impl
Methods in org.infinispan.transaction.impl with parameters of type CacheTopologyModifier and TypeMethodDescriptionLocalTransaction.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.xsite.irac
Methods in org.infinispan.xsite.irac with parameters of type CacheTopologyModifier and TypeMethodDescriptionvoidDefaultIracManager.onTopologyUpdate(CacheTopology oldCacheTopology, CacheTopology newCacheTopology) voidIracManager.onTopologyUpdate(CacheTopology oldCacheTopology, CacheTopology newCacheTopology) Notifies a topology changed.voidNoOpIracManager.onTopologyUpdate(CacheTopology oldCacheTopology, CacheTopology newCacheTopology) -
Uses of CacheTopology in org.infinispan.xsite.statetransfer
Methods in org.infinispan.xsite.statetransfer with parameters of type CacheTopologyModifier and TypeMethodDescriptionvoidNoOpXSiteStateTransferManager.onTopologyUpdated(CacheTopology cacheTopology, boolean stateTransferInProgress) voidXSiteStateTransferManager.onTopologyUpdated(CacheTopology cacheTopology, boolean stateTransferInProgress) NotifiesXSiteStateTransferManagerthat a newCacheTopologyis installed and if the local cluster state transfer is in progress (or about to start)voidXSiteStateTransferManagerImpl.onTopologyUpdated(CacheTopology cacheTopology, boolean stateTransferInProgress)