Uses of Interface
net.spy.memcached.NodeLocator
-
Packages that use NodeLocator Package Description net.spy.memcached Memcached client and transformation utils -
-
Uses of NodeLocator in net.spy.memcached
Classes in net.spy.memcached that implement NodeLocator Modifier and Type Class 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.Fields in net.spy.memcached declared as NodeLocator Modifier and Type Field Description protected NodeLocator
MemcachedConnection. locator
TheNodeLocator
to use for this connection.Methods in net.spy.memcached that return NodeLocator Modifier and Type Method Description NodeLocator
ConnectionFactory. createLocator(java.util.List<MemcachedNode> nodes)
Create a NodeLocator instance for the given list of nodes.NodeLocator
DefaultConnectionFactory. createLocator(java.util.List<MemcachedNode> nodes)
NodeLocator
KetamaConnectionFactory. createLocator(java.util.List<MemcachedNode> nodes)
NodeLocator
MemcachedConnection. getLocator()
Returns theNodeLocator
in use for this connection.NodeLocator
MemcachedClient. getNodeLocator()
Get a read-only wrapper around the node locator wrapping this instance.NodeLocator
MemcachedClientIF. getNodeLocator()
NodeLocator
ArrayModNodeLocator. getReadonlyCopy()
NodeLocator
KetamaNodeLocator. getReadonlyCopy()
NodeLocator
NodeLocator. getReadonlyCopy()
Create a read-only copy of this NodeLocator.
-