Uses of Interface
net.spy.memcached.NodeLocator
Packages that use NodeLocator
-
Uses of NodeLocator in net.spy.memcached
Classes in net.spy.memcached that implement NodeLocatorModifier and TypeClassDescriptionfinal class
NodeLocator implementation for dealing with simple array lookups using a modulus of the hash code and node list length.final class
This is an implementation of the Ketama consistent hash strategy from last.fm.Fields in net.spy.memcached declared as NodeLocatorModifier and TypeFieldDescriptionprotected final NodeLocator
MemcachedConnection.locator
TheNodeLocator
to use for this connection.Methods in net.spy.memcached that return NodeLocatorModifier and TypeMethodDescriptionConnectionFactory.createLocator
(List<MemcachedNode> nodes) Create a NodeLocator instance for the given list of nodes.DefaultConnectionFactory.createLocator
(List<MemcachedNode> nodes) KetamaConnectionFactory.createLocator
(List<MemcachedNode> nodes) MemcachedConnection.getLocator()
Returns theNodeLocator
in use for this connection.MemcachedClient.getNodeLocator()
Get a read-only wrapper around the node locator wrapping this instance.MemcachedClientIF.getNodeLocator()
ArrayModNodeLocator.getReadonlyCopy()
KetamaNodeLocator.getReadonlyCopy()
NodeLocator.getReadonlyCopy()
Create a read-only copy of this NodeLocator.