Uses of Class
org.infinispan.topology.CacheTopology
-
Packages that use CacheTopology Package Description org.infinispan.commands.topology org.infinispan.conflict.impl This package contains implementations of the conflict resolution API.org.infinispan.container.versioning.irac 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.logging Infinispan's logging abstractions that delegate to either JDK or Log4J logging engines.org.infinispan.util.logging.events org.infinispan.xsite.irac -
-
Uses of CacheTopology in org.infinispan.commands.topology
Constructors in org.infinispan.commands.topology with parameters of type CacheTopology Constructor Description RebalanceStartCommand(String cacheName, Address origin, CacheTopology cacheTopology, int viewId)TopologyUpdateCommand(String cacheName, Address origin, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId)TopologyUpdateStableCommand(String cacheName, Address origin, CacheTopology cacheTopology, int viewId) -
Uses of CacheTopology in org.infinispan.conflict.impl
Methods in org.infinispan.conflict.impl with parameters of type CacheTopology Modifier and Type Method Description CompletionStage<Void>DefaultConflictManager. resolveConflicts(CacheTopology topology, Set<Address> preferredNodes)CompletionStage<Void>InternalConflictManager. resolveConflicts(CacheTopology cacheTopology, Set<Address> preferredNodes) -
Uses of CacheTopology in org.infinispan.container.versioning.irac
Methods in org.infinispan.container.versioning.irac with parameters of type CacheTopology Modifier and Type Method Description voidDefaultIracVersionGenerator. 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.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 CompletionStage<Void>CacheNotifier. notifyTopologyChanged(CacheTopology oldTopology, CacheTopology newTopology, int newTopologyId, boolean pre)CompletionStage<Void>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 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 CompletionStage<CompletionStage<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 with parameters of type CacheTopology Modifier and Type Method Description CompletionStage<CompletionStage<Void>>StateConsumer. onTopologyUpdate(CacheTopology cacheTopology, boolean isRebalance)Receive notification of topology changes.CompletionStage<CompletionStage<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 CacheTopology Modifier and Type Method Description protected CacheTopologyClusterCacheStatus. createInitialCacheTopology()CacheTopologyCacheTopology.Externalizer. doReadObject(ObjectInput unmarshaller)CacheTopologyCacheStatusResponse. getCacheTopology()CacheTopologyLocalTopologyManager. getCacheTopology(String cacheName)CacheTopologyLocalTopologyManagerImpl. getCacheTopology(String cacheName)CacheTopologyClusterCacheStatus. getCurrentTopology()CacheTopologyLocalTopologyManager. getStableCacheTopology(String cacheName)CacheTopologyLocalTopologyManagerImpl. getStableCacheTopology(String cacheName)CacheTopologyCacheStatusResponse. getStableTopology()CacheTopologyClusterCacheStatus. getStableTopology()protected CacheTopologyClusterCacheStatus. restoreCacheTopology(ScopedPersistentState state)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()CompletionStage<CacheTopology>LocalTopologyManagerImpl. handleJoinResponse(String cacheName, org.infinispan.topology.LocalCacheStatus cacheStatus, CacheStatusResponse initialStatus)CompletionStage<CacheTopology>LocalTopologyManager. join(String cacheName, CacheJoinInfo joinInfo, CacheTopologyHandler stm, PartitionHandlingManager phm)Forwards the join request to the coordinator.CompletionStage<CacheTopology>LocalTopologyManagerImpl. join(String cacheName, CacheJoinInfo joinInfo, CacheTopologyHandler stm, PartitionHandlingManager phm)Methods in org.infinispan.topology with parameters of type CacheTopology Modifier and Type Method Description voidCacheTopology.Externalizer. doWriteObject(ObjectOutput output, CacheTopology cacheTopology)CompletionStage<Void>LocalTopologyManager. handleRebalance(String cacheName, CacheTopology cacheTopology, int viewId, Address sender)Performs the state transfer.CompletionStage<Void>LocalTopologyManagerImpl. handleRebalance(String cacheName, CacheTopology cacheTopology, int viewId, Address sender)CompletionStage<Void>LocalTopologyManager. handleStableTopologyUpdate(String cacheName, CacheTopology cacheTopology, Address sender, int viewId)Update the stable cache topology.CompletionStage<Void>LocalTopologyManagerImpl. handleStableTopologyUpdate(String cacheName, CacheTopology newStableTopology, Address sender, int viewId)CompletionStage<Void>LocalTopologyManager. handleTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId, Address sender)Updates the current and/or pending consistent hash, without transferring any state.CompletionStage<Void>LocalTopologyManagerImpl. handleTopologyUpdate(String cacheName, CacheTopology cacheTopology, AvailabilityMode availabilityMode, int viewId, Address sender)voidClusterCacheStatus. queueConflictResolution(CacheTopology conflictTopology, Set<Address> preferredNodes)CompletionStage<Void>CacheTopologyHandler. rebalance(CacheTopology cacheTopology)Invoked when state transfer has to be started.CompletionStage<Void>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 CacheTopology Constructor Description CacheStatusResponse(CacheJoinInfo cacheJoinInfo, CacheTopology cacheTopology, CacheTopology stableTopology, AvailabilityMode availabilityMode) -
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.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) -
Uses of CacheTopology in org.infinispan.util.logging.events
Methods in org.infinispan.util.logging.events with parameters of type CacheTopology Modifier and Type Method Description StringMessages_$bundle. unexpectedAvailabilityMode(AvailabilityMode availabilityMode, CacheTopology cacheTopology)StringMessages. unexpectedAvailabilityMode(AvailabilityMode availabilityMode, CacheTopology cacheTopology) -
Uses of CacheTopology in org.infinispan.xsite.irac
Methods in org.infinispan.xsite.irac with parameters of type CacheTopology Modifier and Type Method Description voidDefaultIracManager. onTopologyUpdate(CacheTopology oldCacheTopology, CacheTopology newCacheTopology)voidIracManager. onTopologyUpdate(CacheTopology oldCacheTopology, CacheTopology newCacheTopology)Notifies a topology changed.voidNoOpIracManager. onTopologyUpdate(CacheTopology oldCacheTopology, CacheTopology newCacheTopology)
-