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 |
ConnectionFactory.getHashAlg()
Get the hash algorithm to be used.
|
HashAlgorithm |
DefaultConnectionFactory.getHashAlg() |
static HashAlgorithm |
HashAlgorithmRegistry.lookupHashAlgorithm(java.lang.String name)
Tries to find selected hash algorithm using name provided.
|
Modifier and Type | Method and Description |
---|---|
static void |
HashAlgorithmRegistry.registerHashAlgorithm(java.lang.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(java.util.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(java.util.List<MemcachedNode> nodes,
HashAlgorithm alg)
Create a new KetamaNodeLocator using specified nodes and the specifed hash
algorithm.
|
KetamaNodeLocator(java.util.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 © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.