|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConsistentHash | |
---|---|
org.infinispan.commands | Commands that operate on the cache, either locally or remotely. |
org.infinispan.commands.control | Commands that control and coordinate certain cache operations, such as rehashing, state transfer and locking. |
org.infinispan.config | Cache configuration beans and parsers. |
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 |
Uses of ConsistentHash in org.infinispan.commands |
---|
Methods in org.infinispan.commands with parameters of type ConsistentHash | |
---|---|
RehashControlCommand |
CommandsFactoryImpl.buildRehashControlCommand(RehashControlCommand.Type type,
Address sender,
Map<Object,InternalCacheValue> state,
ConsistentHash oldCH,
ConsistentHash newCH)
|
RehashControlCommand |
CommandsFactory.buildRehashControlCommand(RehashControlCommand.Type subtype,
Address sender,
Map<Object,InternalCacheValue> state,
ConsistentHash oldCH,
ConsistentHash newCH)
Builds a RehashControlCommand for coordinating a rehash event. |
Uses of ConsistentHash in org.infinispan.commands.control |
---|
Constructors in org.infinispan.commands.control with parameters of type ConsistentHash | |
---|---|
RehashControlCommand(String cacheName,
RehashControlCommand.Type type,
Address sender,
Map<Object,InternalCacheValue> state,
ConsistentHash oldConsistentHash,
ConsistentHash consistentHash)
|
Uses of ConsistentHash in org.infinispan.config |
---|
Method parameters in org.infinispan.config with type arguments of type ConsistentHash | |
---|---|
FluentConfiguration.HashConfig |
FluentConfiguration.HashConfig.consistentHashClass(Class<? extends ConsistentHash> consistentHashClass)
Fully qualified name of class providing consistent hash algorithm |
FluentConfiguration.HashConfig |
Configuration.HashType.consistentHashClass(Class<? extends ConsistentHash> consistentHashClass)
|
Uses of ConsistentHash in org.infinispan.distribution |
---|
Methods in org.infinispan.distribution that return ConsistentHash | |
---|---|
ConsistentHash |
DistributionManagerImpl.getConsistentHash()
|
ConsistentHash |
DistributionManager.getConsistentHash()
Retrieves the consistent hash instance currently in use, which may be an instance of the configured ConsistentHash instance (which defaults to DefaultConsistentHash , or an instance of
UnionConsistentHash if a rehash is in progress. |
Methods in org.infinispan.distribution with parameters of type ConsistentHash | |
---|---|
void |
DistributionManagerImpl.applyState(ConsistentHash consistentHash,
Map<Object,InternalCacheValue> state,
Address sender)
|
void |
DistributionManager.applyState(ConsistentHash newConsistentHash,
Map<Object,InternalCacheValue> state,
Address sender)
|
protected void |
RebalanceTask.rebalance(Object key,
InternalCacheEntry value,
int numOwners,
ConsistentHash chOld,
ConsistentHash chNew,
CacheStore cacheStore,
Map<Address,Map<Object,InternalCacheValue>> states,
List<Object> removedKeys)
Computes the list of old and new servers for a given key K and value V. |
void |
DistributionManagerImpl.setConsistentHash(ConsistentHash consistentHash)
|
void |
DistributionManager.setConsistentHash(ConsistentHash consistentHash)
Sets the consistent hash implementation in use. |
Uses of ConsistentHash in org.infinispan.distribution.ch |
---|
Classes in org.infinispan.distribution.ch that implement ConsistentHash | |
---|---|
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
Consistent hashing algorithm. |
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. |
Methods in org.infinispan.distribution.ch that return ConsistentHash | |
---|---|
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. |
Methods in org.infinispan.distribution.ch with parameters of type ConsistentHash | |
---|---|
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. |
Constructors in org.infinispan.distribution.ch with parameters of type ConsistentHash | |
---|---|
UnionConsistentHash(ConsistentHash oldCH,
ConsistentHash newCH)
|
Uses of ConsistentHash in org.infinispan.notifications.cachelistener |
---|
Methods in org.infinispan.notifications.cachelistener with parameters of type ConsistentHash | |
---|---|
void |
CacheNotifierImpl.notifyTopologyChanged(ConsistentHash oldConsistentHash,
ConsistentHash newConsistentHash,
boolean pre)
|
void |
CacheNotifier.notifyTopologyChanged(ConsistentHash oldConsistentHash,
ConsistentHash newConsistentHash,
boolean pre)
|
Uses of ConsistentHash in org.infinispan.notifications.cachelistener.event |
---|
Methods in org.infinispan.notifications.cachelistener.event that return ConsistentHash | |
---|---|
ConsistentHash |
TopologyChangedEvent.getConsistentHashAtEnd()
|
ConsistentHash |
EventImpl.getConsistentHashAtEnd()
|
ConsistentHash |
TopologyChangedEvent.getConsistentHashAtStart()
|
ConsistentHash |
EventImpl.getConsistentHashAtStart()
|
Methods in org.infinispan.notifications.cachelistener.event with parameters of type ConsistentHash | |
---|---|
void |
EventImpl.setConsistentHashAtEnd(ConsistentHash consistentHashAtEnd)
|
void |
EventImpl.setConsistentHashAtStart(ConsistentHash consistentHashAtStart)
|
|
--> |