| Package | Description |
|---|---|
| org.infinispan.configuration.cache |
Cache configuration |
| org.infinispan.distribution.ch.impl | |
| org.infinispan.partitionhandling.impl | |
| org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
| org.infinispan.topology |
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition<ConsistentHashFactory> |
HashConfiguration.CONSISTENT_HASH_FACTORY |
| Modifier and Type | Method and Description |
|---|---|
ConsistentHashFactory<?> |
HashConfiguration.consistentHashFactory()
Deprecated.
Since 11.0. Will be removed in 14.0, the segment allocation will no longer be customizable.
|
| Modifier and Type | Method and Description |
|---|---|
HashConfigurationBuilder |
HashConfigurationBuilder.consistentHashFactory(ConsistentHashFactory<? extends ConsistentHash> consistentHashFactory)
Deprecated.
Since 11.0. Will be removed in 14.0, the segment allocation will no longer be customizable.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConsistentHashFactory<CH extends ConsistentHash> |
class |
DefaultConsistentHashFactory
Default implementation of
ConsistentHashFactory. |
class |
ReplicatedConsistentHashFactory
Factory for ReplicatedConsistentHash.
|
class |
ScatteredConsistentHashFactory
Based on
DefaultConsistentHashFactory. |
class |
SyncConsistentHashFactory
One of the assumptions people made on consistent hashing involves thinking
that given a particular key and same topology, it would produce the same
consistent hash value no matter which cache it was stored in.
|
class |
SyncReplicatedConsistentHashFactory
SyncConsistentHashFactory adapted for replicated caches, so that the primary owner of a key
is the same in replicated and distributed caches. |
class |
TopologyAwareConsistentHashFactory
Default topology-aware consistent hash factory implementation.
|
class |
TopologyAwareSyncConsistentHashFactory
A
ConsistentHashFactory implementation that guarantees caches
with the same members have the same consistent hash and also tries to distribute segments based on the
topology information in TransportConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static ConsistentHash |
AvailabilityStrategy.ownersConsistentHash(CacheTopology topology,
ConsistentHashFactory chFactory)
Compute the read consistent hash for a topology with a
null union consistent hash. |
| Modifier and Type | Method and Description |
|---|---|
static ConsistentHashFactory |
StateTransferManagerImpl.pickConsistentHashFactory(GlobalConfiguration globalConfiguration,
Configuration configuration)
If no ConsistentHashFactory was explicitly configured we choose a suitable one based on cache mode.
|
| Modifier and Type | Method and Description |
|---|---|
ConsistentHashFactory |
CacheJoinInfo.getConsistentHashFactory() |
| Constructor and Description |
|---|
CacheJoinInfo(ConsistentHashFactory consistentHashFactory,
int numSegments,
int numOwners,
long timeout,
CacheMode cacheMode,
float capacityFactor,
PersistentUUID persistentUUID,
Optional<Integer> persistentStateChecksum) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.