Uses of Interface
net.spy.memcached.HashAlgorithm
Packages that use HashAlgorithm
Package
Description
Memcached client and transformation utils
-
Uses of HashAlgorithm in net.spy.memcached
Classes in net.spy.memcached that implement HashAlgorithmModifier and TypeClassDescriptionenumKnown hashing algorithms for locating a server for a key.Fields in net.spy.memcached declared as HashAlgorithmModifier and TypeFieldDescriptionstatic final HashAlgorithmDefaultConnectionFactory.DEFAULT_HASHDefault hash algorithm.protected HashAlgorithmConnectionFactoryBuilder.hashAlgMethods in net.spy.memcached that return HashAlgorithmModifier and TypeMethodDescriptionConnectionFactory.getHashAlg()Get the hash algorithm to be used.DefaultConnectionFactory.getHashAlg()static HashAlgorithmHashAlgorithmRegistry.lookupHashAlgorithm(String name) Tries to find selected hash algorithm using name provided.Methods in net.spy.memcached with parameters of type HashAlgorithmModifier and TypeMethodDescriptionstatic voidHashAlgorithmRegistry.registerHashAlgorithm(String name, HashAlgorithm alg) Registers providedHashAlgorithminstance with the given name.ConnectionFactoryBuilder.setHashAlg(HashAlgorithm to) Set the hash algorithm.Constructors in net.spy.memcached with parameters of type HashAlgorithmModifierConstructorDescriptionConstruct an ArraymodNodeLocator over the given array of nodes and using the given hash algorithm.BinaryConnectionFactory(int len, int bufSize, HashAlgorithm hash) Construct a BinaryConnectionFactory with the given parameters.BinaryConnectionFactory(ClientMode clientMode, int len, int bufSize, HashAlgorithm hash) Construct a BinaryConnectionFactory with the given parameters.DefaultConnectionFactory(int qLen, int bufSize, HashAlgorithm hash) Construct a DefaultConnectionFactory with the given parameters.DefaultConnectionFactory(ClientMode clientMode, int qLen, int bufSize, HashAlgorithm hash) Construct a DefaultConnectionFactory with the given parameters.KetamaConnectionFactory(int qLen, int bufSize, long opQueueMaxBlockTime, HashAlgorithm hash, KetamaNodeKeyFormatter.Format nodeKeyFormat, Map<InetSocketAddress, Integer> weights) Create a KetamaConnectionFactory with the maximum operation queue length, the given read buffer size, the maximum time to block waiting operations, a specific hash algorithm, a set ring key format, and a given set of weights.KetamaNodeLocator(List<MemcachedNode> nodes, HashAlgorithm alg) Create a new KetamaNodeLocator using specified nodes and the specifed hash algorithm.KetamaNodeLocator(List<MemcachedNode> nodes, HashAlgorithm alg, Map<InetSocketAddress, Integer> nodeWeights, KetamaNodeLocatorConfiguration configuration) Create a new KetamaNodeLocator with specific nodes, hash, node key format, and weightKetamaNodeLocator(List<MemcachedNode> nodes, HashAlgorithm alg, KetamaNodeKeyFormatter.Format nodeKeyFormat, Map<InetSocketAddress, Integer> weights) Create a new KetamaNodeLocator with specific nodes, hash, node key format, and weightKetamaNodeLocator(List<MemcachedNode> nodes, HashAlgorithm alg, KetamaNodeLocatorConfiguration conf) Create a new KetamaNodeLocator using specified nodes and the specifed hash algorithm and configuration. -
Uses of HashAlgorithm in net.spy.memcached.spring
Methods in net.spy.memcached.spring with parameters of type HashAlgorithm