Uses of Interface
org.infinispan.distribution.ch.ConsistentHash

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   
 

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, List<Address> leavers)
           
 RehashControlCommand CommandsFactory.buildRehashControlCommand(RehashControlCommand.Type subtype, Address sender, Map<Object,InternalCacheValue> state, ConsistentHash oldCH, ConsistentHash newCH, List<Address> leaversHandled)
          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, List<Address> leavers, CommandsFactory commandsFactory)
           
 

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
 

Fields in org.infinispan.distribution declared as ConsistentHash
protected  ConsistentHash JoinTask.chNew
           
protected  ConsistentHash JoinTask.chOld
           
 

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, RemoteTransactionLogger tlog, boolean forLeave)
           
 void DistributionManager.applyState(ConsistentHash newConsistentHash, Map<Object,InternalCacheValue> state, RemoteTransactionLogger transactionLogger, boolean forLeave)
           
protected  Collection<Address> RehashTask.getInvalidHolders(Object key, ConsistentHash chOld, ConsistentHash chNew)
           
protected  void RehashTask.invalidateInvalidHolders(ConsistentHash chOld, ConsistentHash chNew)
           
protected  void RehashTask.invalidateInvalidHolders(List<Address> doNotInvalidate, ConsistentHash chOld, ConsistentHash chNew)
           
 void DistributionManagerImpl.setConsistentHash(ConsistentHash consistentHash)
           
 void DistributionManager.setConsistentHash(ConsistentHash consistentHash)
          Sets the consistent hash implementation in use.
 

Constructors in org.infinispan.distribution with parameters of type ConsistentHash
InvertedLeaveTask.LeaveStateGrabber(Address stateProvider, ReplicableCommand command, ConsistentHash newConsistentHash)
           
JoinTask.JoinStateGrabber(Address stateProvider, ReplicableCommand command, ConsistentHash newConsistentHash)
           
RehashTask.StateGrabber(Address stateProvider, ReplicableCommand command, ConsistentHash newConsistentHash)
           
 

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, Collection<Address> moreAddresses, TopologyInfo topologyInfo)
          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, TopologyInfo topologyInfo)
          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, TopologyInfo topologyInfo, 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, TopologyInfo topologyInfo)
          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, TopologyInfo topologyInfo, 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, TopologyInfo topologyInfo)
          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, TopologyInfo topologyInfo)
          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, TopologyInfo topologyInfo, 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, TopologyInfo topologyInfo)
          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)
           
 


-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.