Package | Description |
---|---|
org.infinispan.config |
Cache configuration beans and parsers.
|
org.infinispan.configuration.cache |
Classes related to eviction.
|
org.infinispan.distribution |
Classes relating to the distributed cache mode.
|
org.infinispan.distribution.ch | |
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.
|
Modifier and Type | Method and Description |
---|---|
FluentConfiguration.HashConfig |
FluentConfiguration.HashConfig.consistentHashClass(Class<? extends ConsistentHash> consistentHashClass)
Deprecated.
Fully qualified name of class providing consistent hash algorithm
|
FluentConfiguration.HashConfig |
Configuration.HashType.consistentHashClass(Class<? extends ConsistentHash> consistentHashClass)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
HashConfiguration.consistentHash()
The consistent hash in use.
|
Modifier and Type | Method and Description |
---|---|
HashConfigurationBuilder |
HashConfigurationBuilder.consistentHash(ConsistentHash consistentHash)
The consistent hash in use.
|
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
DistributionManagerImpl.getConsistentHash() |
ConsistentHash |
DistributionManager.getConsistentHash()
Retrieves the consistent hash instance currently in use, an instance of the configured ConsistentHash
class (which defaults to
DefaultConsistentHash . |
ConsistentHash |
DistributionManagerImpl.setConsistentHash(ConsistentHash newCH) |
ConsistentHash |
DistributionManager.setConsistentHash(ConsistentHash consistentHash)
Sets the consistent hash implementation in use.
|
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
DistributionManagerImpl.setConsistentHash(ConsistentHash newCH) |
ConsistentHash |
DistributionManager.setConsistentHash(ConsistentHash consistentHash)
Sets the consistent hash implementation in use.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConsistentHash
An abstract consistent hash implementation that handles common implementations of certain methods.
|
class |
AbstractWheelConsistentHash
Abstract class for the wheel-based CH implementations.
|
class |
DefaultConsistentHash |
class |
ExperimentalDefaultConsistentHash
|
class |
TopologyAwareConsistentHash
Consistent hash that is aware of cluster topology.
|
class |
UnionConsistentHash
A delegating wrapper that locates keys by getting a union of locations reported by two other ConsistentHash
implementations it delegates to.
|
Modifier and Type | Method and Description |
---|---|
static ConsistentHash |
ConsistentHashHelper.createConsistentHash(Configuration c,
Collection<Address> addresses)
Creates a new consistent hash instance based on the user's configuration, and populates the consistent hash
with the collection of addresses passed in.
|
static ConsistentHash |
ConsistentHashHelper.createConsistentHash(Configuration c,
Collection<Address> addresses,
Address... moreAddresses)
Creates a new consistent hash instance based on the user's configuration, and populates the consistent hash
with the collection of addresses passed in.
|
static ConsistentHash |
ConsistentHashHelper.createConsistentHash(Configuration c,
Collection<Address> addresses,
Collection<Address> moreAddresses)
Creates a new consistent hash instance based on the user's configuration, and populates the consistent hash
with the collection of addresses passed in.
|
static ConsistentHash |
ConsistentHashHelper.createConsistentHash(ConsistentHash template,
Collection<Address> addresses)
Creates a new consistent hash instance based on the type specified, and populates the consistent hash
with the collection of addresses passed in.
|
static ConsistentHash |
ConsistentHashHelper.createConsistentHash(ConsistentHash template,
Collection<Address> addresses,
Address... moreAddresses)
Creates a new consistent hash instance based on the type specified, and populates the consistent hash
with the collection of addresses passed in.
|
ConsistentHash |
UnionConsistentHash.getNewConsistentHash() |
ConsistentHash |
UnionConsistentHash.getOldConsistentHash() |
static ConsistentHash |
ConsistentHashHelper.removeAddress(ConsistentHash ch,
Address toRemove,
Configuration c)
Returns a new consistent hash of the same type with the given address removed.
|
Modifier and Type | Method and Description |
---|---|
static ConsistentHash |
ConsistentHashHelper.createConsistentHash(ConsistentHash template,
Collection<Address> addresses)
Creates a new consistent hash instance based on the type specified, and populates the consistent hash
with the collection of addresses passed in.
|
static ConsistentHash |
ConsistentHashHelper.createConsistentHash(ConsistentHash template,
Collection<Address> addresses,
Address... moreAddresses)
Creates a new consistent hash instance based on the type specified, and populates the consistent hash
with the collection of addresses passed in.
|
static ConsistentHash |
ConsistentHashHelper.removeAddress(ConsistentHash ch,
Address toRemove,
Configuration c)
Returns a new consistent hash of the same type with the given address removed.
|
Constructor and Description |
---|
UnionConsistentHash(ConsistentHash oldCH,
ConsistentHash newCH) |
Modifier and Type | Method and Description |
---|---|
void |
CacheNotifierImpl.notifyTopologyChanged(ConsistentHash oldConsistentHash,
ConsistentHash newConsistentHash,
boolean pre) |
void |
CacheNotifier.notifyTopologyChanged(ConsistentHash oldConsistentHash,
ConsistentHash newConsistentHash,
boolean pre) |
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
TopologyChangedEvent.getConsistentHashAtEnd() |
ConsistentHash |
EventImpl.getConsistentHashAtEnd() |
ConsistentHash |
TopologyChangedEvent.getConsistentHashAtStart() |
ConsistentHash |
EventImpl.getConsistentHashAtStart() |
Modifier and Type | Method and Description |
---|---|
void |
EventImpl.setConsistentHashAtEnd(ConsistentHash consistentHashAtEnd) |
void |
EventImpl.setConsistentHashAtStart(ConsistentHash consistentHashAtStart) |
Modifier and Type | Field and Description |
---|---|
protected ConsistentHash |
BaseStateTransferTask.chNew |
protected ConsistentHash |
BaseStateTransferManagerImpl.chNew |
protected ConsistentHash |
BaseStateTransferTask.chOld |
protected ConsistentHash |
BaseStateTransferManagerImpl.chOld |
Modifier and Type | Method and Description |
---|---|
protected ConsistentHash |
ReplicatedStateTransferManagerImpl.createConsistentHash(List<Address> members) |
protected ConsistentHash |
DummyInvalidationStateTransferManagerImpl.createConsistentHash(List<Address> members)
Deprecated.
|
protected ConsistentHash |
DistributedStateTransferManagerImpl.createConsistentHash(List<Address> members) |
protected abstract ConsistentHash |
BaseStateTransferManagerImpl.createConsistentHash(List<Address> members) |
Constructor and Description |
---|
BaseStateTransferTask(BaseStateTransferManagerImpl stateTransferManager,
RpcManager rpcManager,
StateTransferLock stateTransferLock,
CacheNotifier cacheNotifier,
Configuration configuration,
DataContainer dataContainer,
Collection<Address> members,
int newViewId,
ConsistentHash chNew,
ConsistentHash chOld,
boolean initialView) |
DistributedStateTransferTask(RpcManager rpcManager,
Configuration configuration,
DataContainer dataContainer,
DistributedStateTransferManagerImpl stateTransferManager,
DistributionManager dm,
StateTransferLock stateTransferLock,
CacheNotifier cacheNotifier,
int newViewId,
Collection<Address> members,
ConsistentHash chOld,
ConsistentHash chNew,
boolean initialView,
TransactionTable transactionTable) |
ReplicatedStateTransferTask(RpcManager rpcManager,
Configuration configuration,
DataContainer dataContainer,
ReplicatedStateTransferManagerImpl stateTransferManager,
StateTransferLock stateTransferLock,
CacheNotifier cacheNotifier,
int newViewId,
Collection<Address> members,
ConsistentHash chOld,
ConsistentHash chNew,
boolean initialView) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.