Uses of Interface
net.spy.memcached.MemcachedNode
Packages that use MemcachedNode
Package
Description
Memcached client and transformation utils
Auth Utilities.
Fundamental protocol operation interfaces
Base classes for protocol abstractions.
Low-level operations for the memcached ascii protocol
Low-level operations for the memcached binary protocol
Cache Utilities.
-
Uses of MemcachedNode in net.spy.memcached
Classes in net.spy.memcached that implement MemcachedNodeFields in net.spy.memcached with type parameters of type MemcachedNodeModifier and TypeFieldDescriptionprotected final ConcurrentLinkedQueue<MemcachedNode> MemcachedConnection.addedQueueAddedQueue is used to track the QueueAttachments for which operations have recently been queued.protected List<MemcachedNode> MemcachedConnection.nodesToDeleteprotected final ConcurrentLinkedQueue<MemcachedNode> MemcachedConnection.nodesToShutdownHolds all nodes that are scheduled for shutdown.Methods in net.spy.memcached that return MemcachedNodeModifier and TypeMethodDescriptionprotected MemcachedNodeMemcachedConnection.createConnection(NodeEndPoint endPoint) BinaryConnectionFactory.createMemcachedNode(SocketAddress sa, SocketChannel c, int bufSize) ConnectionFactory.createMemcachedNode(SocketAddress sa, SocketChannel c, int bufSize) Create a new memcached node.DefaultConnectionFactory.createMemcachedNode(SocketAddress sa, SocketChannel c, int bufSize) ArrayModNodeLocator.getPrimary(String k) KetamaNodeLocator.getPrimary(String k) NodeLocator.getPrimary(String k) Get the primary location for the given key.Methods in net.spy.memcached that return types with arguments of type MemcachedNodeModifier and TypeMethodDescriptionprotected List<MemcachedNode> MemcachedConnection.createConnections(Collection<NodeEndPoint> endPoints) ArrayModNodeLocator.getAll()KetamaNodeLocator.getAll()NodeLocator.getAll()Get all memcached nodes.protected TreeMap<Long, MemcachedNode> KetamaNodeLocator.getKetamaNodes()ArrayModNodeLocator.getSequence(String k) KetamaNodeLocator.getSequence(String k) 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 MemcachedNodeModifier and TypeMethodDescriptionprotected voidMemcachedConnection.addOperation(MemcachedNode node, Operation o) Enqueue an operation on the given node.voidTapConnectionProvider.addTapAckOp(MemcachedNode node, Operation op) KetamaNodeKeyFormatter.getKeyForNode(MemcachedNode node, int repetition) Returns a uniquely identifying key, suitable for hashing by the KetamaNodeLocator algorithm.voidMemcachedConnection.insertOperation(MemcachedNode node, Operation o) Insert an operation on the given node to the beginning of the queue.BroadcastOpFactory.newOp(MemcachedNode n, CountDownLatch latch) Construct a new operation for delivery to the given node.protected voidMemcachedConnection.queueReconnect(MemcachedNode node) Enqueue the givenMemcachedNodefor reconnect.Method parameters in net.spy.memcached with type arguments of type MemcachedNodeModifier and TypeMethodDescriptionvoidMemcachedConnection.addOperations(Map<MemcachedNode, Operation> ops) Enqueue the given list of operations on each handling node.MemcachedClient.broadcastOp(BroadcastOpFactory of, Collection<MemcachedNode> nodes) MemcachedClientIF.broadcastOp(BroadcastOpFactory of, Collection<MemcachedNode> nodes) MemcachedConnection.broadcastOperation(BroadcastOpFactory of, Collection<MemcachedNode> nodes) Broadcast an operation to a collection of nodes.ConnectionFactory.createLocator(List<MemcachedNode> nodes) Create a NodeLocator instance for the given list of nodes.DefaultConnectionFactory.createLocator(List<MemcachedNode> nodes) KetamaConnectionFactory.createLocator(List<MemcachedNode> nodes) protected voidKetamaNodeLocator.setKetamaNodes(List<MemcachedNode> nodes) Setup the KetamaNodeLocator with the list of nodes it should use.voidArrayModNodeLocator.updateLocator(List<MemcachedNode> newNodes) voidKetamaNodeLocator.updateLocator(List<MemcachedNode> nodes) voidNodeLocator.updateLocator(List<MemcachedNode> nodes) Update locator status.Constructors in net.spy.memcached with parameters of type MemcachedNodeConstructor parameters in net.spy.memcached with type arguments of type MemcachedNodeModifierConstructorDescriptionConstruct 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, Map<InetSocketAddress, Integer> nodeWeights, KetamaNodeLocatorConfiguration configuration) Create a new KetamaNodeLocator with specific nodes, hash, node key format, and weightKetamaNodeLocator(List<MemcachedNode> nodes, HashAlgorithm alg, KetamaNodeKeyFormatter.Format nodeKeyFormat, Map<InetSocketAddress, Integer> weights) Create a new KetamaNodeLocator with specific nodes, hash, node key format, and weightKetamaNodeLocator(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 MemcachedNodeModifier and TypeMethodDescriptionvoidAuthThreadMonitor.authConnection(MemcachedConnection conn, OperationFactory opFact, AuthDescriptor authDescriptor, MemcachedNode node) Authenticate a new connection.Constructors in net.spy.memcached.auth with parameters of type MemcachedNodeModifierConstructorDescription -
Uses of MemcachedNode in net.spy.memcached.ops
Methods in net.spy.memcached.ops that return MemcachedNodeModifier and TypeMethodDescriptionOperation.getHandlingNode()Get the node that should've been handling this operation.Methods in net.spy.memcached.ops that return types with arguments of type MemcachedNodeMethods in net.spy.memcached.ops with parameters of type MemcachedNodeModifier and TypeMethodDescriptionvoidVBucketAware.addNotMyVbucketNode(MemcachedNode node) voidTapOperation.Callback.gotAck(MemcachedNode node, TapOpcode opcode, int opaque) voidObserveOperation.Callback.gotData(String key, long cas, MemcachedNode node, ObserveResponse or) Callback for each result from a observe.voidOperation.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 MemcachedNodeModifier and TypeMethodDescriptionvoidVBucketAware.setNotMyVbucketNodes(Collection<MemcachedNode> nodes) -
Uses of MemcachedNode in net.spy.memcached.protocol
Classes in net.spy.memcached.protocol that implement MemcachedNodeModifier and TypeClassDescriptionclassRepresents a node with the memcached cluster, along with buffering and operation queues.Fields in net.spy.memcached.protocol with type parameters of type MemcachedNodeModifier and TypeFieldDescriptionprotected Collection<MemcachedNode> BaseOperationImpl.notMyVbucketNodesMethods in net.spy.memcached.protocol that return MemcachedNodeMethods in net.spy.memcached.protocol with parameters of type MemcachedNode -
Uses of MemcachedNode in net.spy.memcached.protocol.ascii
Classes in net.spy.memcached.protocol.ascii that implement MemcachedNodeModifier and TypeClassDescriptionfinal classMemcached node for the ASCII protocol. -
Uses of MemcachedNode in net.spy.memcached.protocol.binary
Classes in net.spy.memcached.protocol.binary that implement MemcachedNodeModifier and TypeClassDescriptionclassImplementation of MemcachedNode for speakers of the binary protocol. -
Uses of MemcachedNode in net.spy.memcached.tapmessage
Methods in net.spy.memcached.tapmessage that return MemcachedNodeConstructors in net.spy.memcached.tapmessage with parameters of type MemcachedNodeModifierConstructorDescriptionTapAck(TapConnectionProvider conn, MemcachedNode node, TapOpcode opcode, int opaque, OperationCallback cb) -
Uses of MemcachedNode in net.spy.memcached.util
Methods in net.spy.memcached.util with parameters of type MemcachedNodeModifier and TypeMethodDescriptionDefaultKetamaNodeLocatorConfiguration.getKeyForNode(MemcachedNode node, int repetition) Delegates to the KetamaNodeKeyFormatterKetamaNodeLocatorConfiguration.getKeyForNode(MemcachedNode node, int repetition) Returns a uniquely identifying key, suitable for hashing by the KetamaNodeLocator algorithm.