Uses of Interface
net.spy.memcached.MemcachedNode

Packages that use MemcachedNode
net.spy.memcached Memcached client and transformation utils 
net.spy.memcached.ops Fundamental protocol operation interfaces 
net.spy.memcached.protocol Base classes for protocol abstractions. 
net.spy.memcached.protocol.ascii Low-level operations for the memcached ascii protocol 
net.spy.memcached.protocol.binary Low-level operations for the memcached binary protocol 
net.spy.memcached.util Cache Utilities. 
 

Uses of MemcachedNode in net.spy.memcached
 

Methods in net.spy.memcached that return MemcachedNode
 MemcachedNode BinaryConnectionFactory.createMemcachedNode(SocketAddress sa, SocketChannel c, int bufSize)
           
 MemcachedNode ConnectionFactory.createMemcachedNode(SocketAddress sa, SocketChannel c, int bufSize)
          Create a new memcached node.
 MemcachedNode DefaultConnectionFactory.createMemcachedNode(SocketAddress sa, SocketChannel c, int bufSize)
           
 MemcachedNode ArrayModNodeLocator.getPrimary(String k)
           
 MemcachedNode KetamaNodeLocator.getPrimary(String k)
           
 MemcachedNode NodeLocator.getPrimary(String k)
          Get the primary location for the given key.
 

Methods in net.spy.memcached that return types with arguments of type MemcachedNode
 Collection<MemcachedNode> ArrayModNodeLocator.getAll()
           
 Collection<MemcachedNode> KetamaNodeLocator.getAll()
           
 Collection<MemcachedNode> NodeLocator.getAll()
          Get all memcached nodes.
 Iterator<MemcachedNode> ArrayModNodeLocator.getSequence(String k)
           
 Iterator<MemcachedNode> KetamaNodeLocator.getSequence(String k)
           
 Iterator<MemcachedNode> NodeLocator.getSequence(String k)
          Get an iterator over the sequence of nodes that make up the backup locations for a given key.
 

Methods in net.spy.memcached with parameters of type MemcachedNode
 void MemcachedConnection.addOperation(MemcachedNode node, Operation o)
           
 Operation BroadcastOpFactory.newOp(MemcachedNode n, CountDownLatch latch)
          Construct a new operation for delivery to the given node.
 

Method parameters in net.spy.memcached with type arguments of type MemcachedNode
 void MemcachedConnection.addOperations(Map<MemcachedNode,Operation> ops)
           
 NodeLocator ConnectionFactory.createLocator(List<MemcachedNode> nodes)
          Create a NodeLocator instance for the given list of nodes.
 NodeLocator DefaultConnectionFactory.createLocator(List<MemcachedNode> nodes)
           
 NodeLocator KetamaConnectionFactory.createLocator(List<MemcachedNode> nodes)
           
 

Constructor parameters in net.spy.memcached with type arguments of type MemcachedNode
ArrayModNodeLocator(List<MemcachedNode> n, HashAlgorithm alg)
          Construct an ArraymodNodeLocator over the given array of nodes and using the given hash algorithm.
KetamaNodeLocator(List<MemcachedNode> nodes, HashAlgorithm alg)
           
KetamaNodeLocator(List<MemcachedNode> nodes, HashAlgorithm alg, KetamaNodeLocatorConfiguration conf)
           
 

Uses of MemcachedNode in net.spy.memcached.ops
 

Methods in net.spy.memcached.ops that return MemcachedNode
 MemcachedNode Operation.getHandlingNode()
          Get the node that should've been handling this operation.
 

Methods in net.spy.memcached.ops with parameters of type MemcachedNode
 void Operation.setHandlingNode(MemcachedNode to)
          Set a reference to the node that will be/is handling this operation.
 

Uses of MemcachedNode in net.spy.memcached.protocol
 

Classes in net.spy.memcached.protocol that implement MemcachedNode
 class TCPMemcachedNodeImpl
          Represents a node with the memcached cluster, along with buffering and operation queues.
 

Methods in net.spy.memcached.protocol that return MemcachedNode
 MemcachedNode BaseOperationImpl.getHandlingNode()
           
 

Methods in net.spy.memcached.protocol with parameters of type MemcachedNode
 void BaseOperationImpl.setHandlingNode(MemcachedNode to)
           
 

Uses of MemcachedNode in net.spy.memcached.protocol.ascii
 

Classes in net.spy.memcached.protocol.ascii that implement MemcachedNode
 class AsciiMemcachedNodeImpl
          Memcached node for the ASCII protocol.
 

Uses of MemcachedNode in net.spy.memcached.protocol.binary
 

Classes in net.spy.memcached.protocol.binary that implement MemcachedNode
 class BinaryMemcachedNodeImpl
          Implementation of MemcachedNode for speakers of the binary protocol.
 

Uses of MemcachedNode in net.spy.memcached.util
 

Fields in net.spy.memcached.util with type parameters of type MemcachedNode
protected  Map<MemcachedNode,String> DefaultKetamaNodeLocatorConfiguration.socketAddresses
           
 

Methods in net.spy.memcached.util with parameters of type MemcachedNode
 String DefaultKetamaNodeLocatorConfiguration.getKeyForNode(MemcachedNode node, int repetition)
          Returns a uniquely identifying key, suitable for hashing by the KetamaNodeLocator algorithm.
 String KetamaNodeLocatorConfiguration.getKeyForNode(MemcachedNode node, int repetition)
          Returns a uniquely identifying key, suitable for hashing by the KetamaNodeLocator algorithm.
protected  String DefaultKetamaNodeLocatorConfiguration.getSocketAddressForNode(MemcachedNode node)
          Returns the socket address of a given MemcachedNode.