| 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 |
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
DefaultConflictManager.resolveConflicts(CacheTopology topology,
Set<Address> preferredNodes) |
CompletionStage<Void> |
InternalConflictManager.resolveConflicts(CacheTopology cacheTopology,
Set<Address> preferredNodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultIracVersionGenerator.onTopologyChange(CacheTopology newTopology) |
void |
IracVersionGenerator.onTopologyChange(CacheTopology newTopology)
Invoked when a topology change occurs in the cluster.
|
void |
NoOpIracVersionGenerator.onTopologyChange(CacheTopology newTopology) |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalizedCacheTopology
Extends
CacheTopology with information about keys owned by the local node. |
| Modifier and Type | Method and Description |
|---|---|
LocalizedCacheTopology |
DistributionManager.createLocalizedCacheTopology(CacheTopology cacheTopology) |
void |
DistributionManager.setCacheTopology(CacheTopology cacheTopology)
Deprecated.
Internal only.
|
| Constructor and Description |
|---|
LocalizedCacheTopology(CacheMode cacheMode,
CacheTopology cacheTopology,
KeyPartitioner keyPartitioner,
Address localAddress,
boolean connected) |
| Modifier and Type | Method and Description |
|---|---|
LocalizedCacheTopology |
DistributionManagerImpl.createLocalizedCacheTopology(CacheTopology cacheTopology) |
void |
DistributionManagerImpl.setCacheTopology(CacheTopology cacheTopology) |
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and Description |
|---|---|
CacheTopology |
PreferAvailabilityStrategy.computePreferredTopology(Map<Address,CacheStatusResponse> statusResponseMap)
Ignore the AvailabilityStrategyContext and only compute the preferred topology for testing.
|
CacheTopology |
AvailabilityStrategyContext.getCurrentTopology() |
CacheTopology |
AvailablePartitionHandlingManager.getLastStableTopology() |
CacheTopology |
PartitionHandlingManager.getLastStableTopology()
Deprecated.
|
CacheTopology |
PartitionHandlingManagerImpl.getLastStableTopology() |
CacheTopology |
AvailabilityStrategyContext.getStableTopology()
Whenever a new cache topology without a
pendingCH and with at least numOwners owners for each
segment is installed, and the cache is AvailabilityMode.AVAILABLE, the current cache topology is marked
as the stable topology. |
| Modifier and Type | Method and Description |
|---|---|
void |
AvailablePartitionHandlingManager.onTopologyUpdate(CacheTopology cacheTopology) |
void |
PartitionHandlingManager.onTopologyUpdate(CacheTopology cacheTopology)
Notifies the
PartitionHandlingManager that the cache topology was update. |
void |
PartitionHandlingManagerImpl.onTopologyUpdate(CacheTopology cacheTopology) |
static ConsistentHash |
AvailabilityStrategy.ownersConsistentHash(CacheTopology topology,
ConsistentHashFactory chFactory)
Compute the read consistent hash for a topology with a
null union consistent hash. |
void |
AvailabilityStrategyContext.queueConflictResolution(CacheTopology conflictTopology,
Set<Address> preferredNodes)
Initiates conflict resolution using the conflictTopology, which should have already been broadcast via
this#updateTopologiesAfterMerge(CacheTopology, CacheTopology, AvailabilityMode) |
void |
AvailabilityStrategyContext.updateTopologiesAfterMerge(CacheTopology currentTopology,
CacheTopology stableTopology,
AvailabilityMode availabilityMode)
Updates both the stable and the current topologies.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<CompletionStage<Void>> |
ScatteredStateConsumerImpl.onTopologyUpdate(CacheTopology cacheTopology,
boolean isRebalance) |
CompletableFuture<Void> |
ScatteredStateProviderImpl.onTopologyUpdate(CacheTopology cacheTopology,
boolean isRebalance) |
| Modifier and Type | Field and Description |
|---|---|
protected CacheTopology |
StateConsumerImpl.cacheTopology |
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and Description |
|---|---|
protected CacheTopology |
ClusterCacheStatus.createInitialCacheTopology() |
CacheTopology |
CacheTopology.Externalizer.doReadObject(ObjectInput unmarshaller) |
CacheTopology |
CacheStatusResponse.getCacheTopology() |
CacheTopology |
LocalTopologyManager.getCacheTopology(String cacheName) |
CacheTopology |
LocalTopologyManagerImpl.getCacheTopology(String cacheName) |
CacheTopology |
ClusterCacheStatus.getCurrentTopology() |
CacheTopology |
LocalTopologyManager.getStableCacheTopology(String cacheName) |
CacheTopology |
LocalTopologyManagerImpl.getStableCacheTopology(String cacheName) |
CacheTopology |
CacheStatusResponse.getStableTopology() |
CacheTopology |
ClusterCacheStatus.getStableTopology() |
protected CacheTopology |
ClusterCacheStatus.restoreCacheTopology(ScopedPersistentState state) |
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheTopology.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) |
void |
ClusterCacheStatus.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).
|
void |
ClusterCacheStatus.updateTopologiesAfterMerge(CacheTopology currentTopology,
CacheTopology stableTopology,
AvailabilityMode availabilityMode) |
| Constructor and Description |
|---|
CacheStatusResponse(CacheJoinInfo cacheJoinInfo,
CacheTopology cacheTopology,
CacheTopology stableTopology,
AvailabilityMode availabilityMode) |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Messages.unexpectedAvailabilityMode(AvailabilityMode availabilityMode,
CacheTopology cacheTopology) |
String |
Messages_$bundle.unexpectedAvailabilityMode(AvailabilityMode availabilityMode,
CacheTopology cacheTopology) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultIracManager.onTopologyUpdate(CacheTopology oldCacheTopology,
CacheTopology newCacheTopology) |
void |
IracManager.onTopologyUpdate(CacheTopology oldCacheTopology,
CacheTopology newCacheTopology)
Notifies a topology changed.
|
void |
NoOpIracManager.onTopologyUpdate(CacheTopology oldCacheTopology,
CacheTopology newCacheTopology) |
Copyright © 2022 JBoss by Red Hat. All rights reserved.