Uses of Interface
net.spy.memcached.MemcachedNode

Packages that use MemcachedNode
net.spy.memcached Memcached client and transformation utils 
net.spy.memcached.auth Auth Utilities. 
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. 
net.spy.memcached.vbucket   
 

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.
protected  TreeMap<Long,MemcachedNode> KetamaNodeLocator.getKetamaNodes()
           
 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.insertOperation(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)
           
 CountDownLatch MemcachedConnection.broadcastOperation(BroadcastOpFactory of, Collection<MemcachedNode> nodes)
          Broadcast an operation to a specific collection of nodes.
 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)
           
protected  void KetamaNodeLocator.setKetamaNodes(List<MemcachedNode> nodes)
          Setup the KetamaNodeLocator with the list of nodes it should use.
 void ArrayModNodeLocator.updateLocator(List<MemcachedNode> nodes, Config conf)
           
 void KetamaNodeLocator.updateLocator(List<MemcachedNode> nodes, Config conf)
           
 void NodeLocator.updateLocator(List<MemcachedNode> nodes, Config conf)
          Update locator status.
 

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)
          Create a new KetamaNodeLocator using specified nodes and the specifed hash algorithm.
KetamaNodeLocator(List<MemcachedNode> nodes, HashAlgorithm alg, KetamaNodeLocatorConfiguration conf)
          Create a new KetamaNodeLocator using specified nodes and the specifed hash algorithm and configuration.
 

Uses of MemcachedNode in net.spy.memcached.auth
 

Methods in net.spy.memcached.auth with parameters of type MemcachedNode
 void AuthThreadMonitor.authConnection(MemcachedConnection conn, OperationFactory opFact, AuthDescriptor authDescriptor, MemcachedNode node)
          Authenticate a new connection.
 

Constructors in net.spy.memcached.auth with parameters of type MemcachedNode
AuthThread(MemcachedConnection c, OperationFactory o, AuthDescriptor a, MemcachedNode n)
           
 

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 that return types with arguments of type MemcachedNode
 Collection<MemcachedNode> VBucketAware.getNotMyVbucketNodes()
           
 

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

Method parameters in net.spy.memcached.ops with type arguments of type MemcachedNode
 void VBucketAware.setNotMyVbucketNodes(Collection<MemcachedNode> nodes)
           
 

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.
 

Fields in net.spy.memcached.protocol with type parameters of type MemcachedNode
protected  Collection<MemcachedNode> BaseOperationImpl.notMyVbucketNodes
           
 

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.
 

Uses of MemcachedNode in net.spy.memcached.vbucket
 

Methods in net.spy.memcached.vbucket that return MemcachedNode
 MemcachedNode VBucketNodeLocator.getAlternative(String k, Collection<MemcachedNode> notMyVbucketNodes)
          Method returns the node that is not contained in the specified collection of the failed nodes
 MemcachedNode VBucketNodeLocator.getPrimary(String k)
          Get the primary location for the given key.
 

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

Method parameters in net.spy.memcached.vbucket with type arguments of type MemcachedNode
 MemcachedNode VBucketNodeLocator.getAlternative(String k, Collection<MemcachedNode> notMyVbucketNodes)
          Method returns the node that is not contained in the specified collection of the failed nodes
 void VBucketNodeLocator.updateLocator(List<MemcachedNode> nodes, Config newconf)
           
 

Constructor parameters in net.spy.memcached.vbucket with type arguments of type MemcachedNode
VBucketNodeLocator(List<MemcachedNode> nodes, Config jsonConfig)
          Construct a VBucketNodeLocator over the given JSON configuration string.