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 classNodeLocator implementation for dealing with simple array lookups using a modulus of the hash code and node list length.final classThis is an implementation of the Ketama consistent hash strategy from last.fm.Fields in net.spy.memcached declared as NodeLocatorModifier and TypeFieldDescriptionprotected NodeLocatorMemcachedConnection.locatorTheNodeLocatorto 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 theNodeLocatorin 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.