Package | Description |
---|---|
org.infinispan.configuration.cache | |
org.infinispan.distribution |
Classes relating to the distributed cache mode.
|
org.infinispan.distribution.ch | |
org.infinispan.distribution.group |
Groups allow keys with differeing hash codes to be co-located on the same node.
|
org.infinispan.interceptors |
Infinispan is designed around a set of interceptors around a data container.
|
org.infinispan.notifications.cachelistener |
Cache -specific notifications and eventing. |
org.infinispan.notifications.cachelistener.event | |
org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
org.infinispan.topology |
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
HashConfiguration.consistentHash()
Deprecated.
Since 5.2, replaced by
HashConfiguration.consistentHashFactory() . |
Modifier and Type | Method and Description |
---|---|
HashConfigurationBuilder |
HashConfigurationBuilder.consistentHash(ConsistentHash consistentHash)
Deprecated.
Since 5.2, replaced by
HashConfigurationBuilder.consistentHashFactory(ConsistentHashFactory) . |
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
DistributionManager.getConsistentHash()
Retrieves the consistent hash instance currently in use, an instance of the configured ConsistentHash
class (which defaults to
DefaultConsistentHash . |
ConsistentHash |
DistributionManagerImpl.getConsistentHash() |
ConsistentHash |
DistributionManager.getReadConsistentHash() |
ConsistentHash |
DistributionManagerImpl.getReadConsistentHash() |
ConsistentHash |
DistributionManager.getWriteConsistentHash() |
ConsistentHash |
DistributionManagerImpl.getWriteConsistentHash() |
Modifier and Type | Interface and Description |
---|---|
interface |
ConsistentHashFactory<CH extends ConsistentHash>
Factory for
ConsistentHash instances. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultConsistentHash
Default
ConsistentHash implementation. |
class |
ReplicatedConsistentHash
Special implementation of
ConsistentHash for replicated caches. |
Constructor and Description |
---|
OwnershipStatistics(ConsistentHash ch,
List<Address> nodes) |
Modifier and Type | Class and Description |
---|---|
class |
GroupingConsistentHash
ConsistentHash wrapper that groups keys to the same node based on their @Group
annotation. |
Constructor and Description |
---|
GroupingConsistentHash(ConsistentHash ch,
GroupManager groupManager) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ClusteringInterceptor.isValueAvailableLocally(ConsistentHash consistentHash,
Object key) |
Modifier and Type | Method and Description |
---|---|
void |
CacheNotifierImpl.notifyDataRehashed(ConsistentHash oldCH,
ConsistentHash newCH,
int newTopologyId,
boolean pre) |
void |
CacheNotifier.notifyDataRehashed(ConsistentHash oldCH,
ConsistentHash newCH,
int newTopologyId,
boolean pre) |
void |
CacheNotifierImpl.notifyTopologyChanged(ConsistentHash oldConsistentHash,
ConsistentHash newConsistentHash,
int newTopologyId,
boolean pre) |
void |
CacheNotifier.notifyTopologyChanged(ConsistentHash oldConsistentHash,
ConsistentHash newConsistentHash,
int newTopologyId,
boolean pre) |
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
EventImpl.getConsistentHashAtEnd() |
ConsistentHash |
TopologyChangedEvent.getConsistentHashAtEnd() |
ConsistentHash |
DataRehashedEvent.getConsistentHashAtEnd() |
ConsistentHash |
EventImpl.getConsistentHashAtStart() |
ConsistentHash |
TopologyChangedEvent.getConsistentHashAtStart() |
ConsistentHash |
DataRehashedEvent.getConsistentHashAtStart() |
Modifier and Type | Method and Description |
---|---|
void |
EventImpl.setConsistentHashAtEnd(ConsistentHash consistentHashAtEnd) |
void |
EventImpl.setConsistentHashAtStart(ConsistentHash consistentHashAtStart) |
Constructor and Description |
---|
OutboundTransferTask(Address destination,
Set<Integer> segments,
int stateTransferChunkSize,
int topologyId,
ConsistentHash readCh,
StateProviderImpl stateProvider,
DataContainer dataContainer,
PersistenceManager persistenceManager,
RpcManager rpcManager,
CommandsFactory commandsFactory,
InternalEntryFactory ef,
long timeout,
String cacheName) |
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
CacheTopologyControlCommand.getCurrentCH() |
ConsistentHash |
CacheTopology.getCurrentCH()
The current consistent hash.
|
ConsistentHash |
CacheTopologyControlCommand.getPendingCH() |
ConsistentHash |
CacheTopology.getPendingCH()
The future consistent hash.
|
ConsistentHash |
CacheTopology.getReadConsistentHash()
Read operations should always go to the "current" members.
|
ConsistentHash |
CacheTopology.getWriteConsistentHash()
When there is a rebalance in progress, write operations should go to the "pending" members.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultRebalancePolicy.isBalanced(ConsistentHash ch) |
Constructor and Description |
---|
CacheTopology(int topologyId,
ConsistentHash currentCH,
ConsistentHash pendingCH) |
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.