Package | Description |
---|---|
net.spy.memcached |
Memcached client and transformation utils
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayModNodeLocator
NodeLocator implementation for dealing with simple array lookups using a
modulus of the hash code and node list length.
|
class |
KetamaNodeLocator
This is an implementation of the Ketama consistent hash strategy from
last.fm.
|
Modifier and Type | Field and Description |
---|---|
protected NodeLocator |
MemcachedConnection.locator |
Modifier and Type | Method and Description |
---|---|
NodeLocator |
ConnectionFactory.createLocator(java.util.List<MemcachedNode> nodes)
Create a NodeLocator instance for the given list of nodes.
|
NodeLocator |
KetamaConnectionFactory.createLocator(java.util.List<MemcachedNode> nodes) |
NodeLocator |
DefaultConnectionFactory.createLocator(java.util.List<MemcachedNode> nodes) |
NodeLocator |
MemcachedConnection.getLocator()
Get the node locator used by this connection.
|
NodeLocator |
MemcachedClient.getNodeLocator()
Get a read-only wrapper around the node locator wrapping this instance.
|
NodeLocator |
MemcachedClientIF.getNodeLocator() |
NodeLocator |
NodeLocator.getReadonlyCopy()
Create a read-only copy of this NodeLocator.
|
NodeLocator |
KetamaNodeLocator.getReadonlyCopy() |
NodeLocator |
ArrayModNodeLocator.getReadonlyCopy() |
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.