Package | Description |
---|---|
net.spy.memcached |
Memcached client and transformation utils
|
net.spy.memcached.spring |
Modifier and Type | Class and Description |
---|---|
class |
DefaultHashAlgorithm
Known hashing algorithms for locating a server for a key.
|
Modifier and Type | Field and Description |
---|---|
static HashAlgorithm |
DefaultConnectionFactory.DEFAULT_HASH
Default hash algorithm.
|
protected HashAlgorithm |
ConnectionFactoryBuilder.hashAlg |
Modifier and Type | Method and Description |
---|---|
HashAlgorithm |
DefaultConnectionFactory.getHashAlg() |
HashAlgorithm |
ConnectionFactory.getHashAlg()
Get the hash algorithm to be used.
|
static HashAlgorithm |
HashAlgorithmRegistry.lookupHashAlgorithm(String name)
Tries to find selected hash algorithm using name provided.
|
Modifier and Type | Method and Description |
---|---|
static void |
HashAlgorithmRegistry.registerHashAlgorithm(String name,
HashAlgorithm alg)
Registers provided
HashAlgorithm instance with the given name. |
ConnectionFactoryBuilder |
ConnectionFactoryBuilder.setHashAlg(HashAlgorithm to)
Set the hash algorithm.
|
Constructor and Description |
---|
ArrayModNodeLocator(List<MemcachedNode> n,
HashAlgorithm alg)
Construct 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.
|
DefaultConnectionFactory(int qLen,
int bufSize,
HashAlgorithm hash)
Construct a DefaultConnectionFactory with the given parameters.
|
KetamaNodeLocator(List<MemcachedNode> nodes,
HashAlgorithm alg)
Create a new KetamaNodeLocator using specified nodes and the specifed hash
algorithm.
|
KetamaNodeLocator(List<MemcachedNode> nodes,
HashAlgorithm alg,
KetamaNodeLocatorConfiguration conf)
Create a new KetamaNodeLocator using specified nodes and the specifed hash
algorithm and configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
MemcachedClientFactoryBean.setHashAlg(HashAlgorithm to) |
Copyright © 2015. All rights reserved.