| Package | Description |
|---|---|
| net.spy.memcached |
Memcached client and transformation utils
|
| Modifier and Type | Method and Description |
|---|---|
KetamaNodeKeyFormatter.Format |
KetamaNodeKeyFormatter.getFormat() |
KetamaNodeKeyFormatter.Format |
KetamaConnectionFactory.getKetamaNodeKeyFormat() |
static KetamaNodeKeyFormatter.Format |
KetamaNodeKeyFormatter.Format.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KetamaNodeKeyFormatter.Format[] |
KetamaNodeKeyFormatter.Format.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
KetamaConnectionFactory(int qLen,
int bufSize,
long opQueueMaxBlockTime,
HashAlgorithm hash,
KetamaNodeKeyFormatter.Format nodeKeyFormat,
java.util.Map<java.net.InetSocketAddress,java.lang.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.
|
KetamaNodeKeyFormatter(KetamaNodeKeyFormatter.Format format) |
KetamaNodeLocator(java.util.List<MemcachedNode> nodes,
HashAlgorithm alg,
KetamaNodeKeyFormatter.Format nodeKeyFormat,
java.util.Map<java.net.InetSocketAddress,java.lang.Integer> weights)
Create a new KetamaNodeLocator with specific nodes, hash, node key format,
and weight
|
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.