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.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.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)
           
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.
 void DistributionManagerImpl.setOldConsistentHash(ConsistentHash oldConsistentHash)
           
 

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, List<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, List<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, List<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, List<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, List<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.getNewCH()
           
 ConsistentHash UnionConsistentHash.getNewConsistentHash()
           
 ConsistentHash UnionConsistentHash.getOldCH()
           
 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, List<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, List<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)
           
 


Google Analytics

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