|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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.tapmessage | |
net.spy.memcached.util | Cache Utilities. |
Uses of MemcachedNode in net.spy.memcached |
---|
Fields in net.spy.memcached with type parameters of type MemcachedNode | |
---|---|
protected java.util.concurrent.ConcurrentLinkedQueue<MemcachedNode> |
MemcachedConnection.addedQueue
|
protected java.util.concurrent.ConcurrentLinkedQueue<MemcachedNode> |
MemcachedConnection.nodesToShutdown
|
Methods in net.spy.memcached that return MemcachedNode | |
---|---|
MemcachedNode |
DefaultConnectionFactory.createMemcachedNode(java.net.SocketAddress sa,
java.nio.channels.SocketChannel c,
int bufSize)
|
MemcachedNode |
ConnectionFactory.createMemcachedNode(java.net.SocketAddress sa,
java.nio.channels.SocketChannel c,
int bufSize)
Create a new memcached node. |
MemcachedNode |
BinaryConnectionFactory.createMemcachedNode(java.net.SocketAddress sa,
java.nio.channels.SocketChannel c,
int bufSize)
|
MemcachedNode |
NodeLocator.getPrimary(java.lang.String k)
Get the primary location for the given key. |
MemcachedNode |
KetamaNodeLocator.getPrimary(java.lang.String k)
|
MemcachedNode |
ArrayModNodeLocator.getPrimary(java.lang.String k)
|
Methods in net.spy.memcached that return types with arguments of type MemcachedNode | |
---|---|
protected java.util.List<MemcachedNode> |
MemcachedConnection.createConnections(java.util.Collection<java.net.InetSocketAddress> a)
|
java.util.Collection<MemcachedNode> |
NodeLocator.getAll()
Get all memcached nodes. |
java.util.Collection<MemcachedNode> |
KetamaNodeLocator.getAll()
|
java.util.Collection<MemcachedNode> |
ArrayModNodeLocator.getAll()
|
protected java.util.TreeMap<java.lang.Long,MemcachedNode> |
KetamaNodeLocator.getKetamaNodes()
|
java.util.Iterator<MemcachedNode> |
NodeLocator.getSequence(java.lang.String k)
Get an iterator over the sequence of nodes that make up the backup locations for a given key. |
java.util.Iterator<MemcachedNode> |
KetamaNodeLocator.getSequence(java.lang.String k)
|
java.util.Iterator<MemcachedNode> |
ArrayModNodeLocator.getSequence(java.lang.String k)
|
Methods in net.spy.memcached with parameters of type MemcachedNode | |
---|---|
protected void |
MemcachedConnection.addOperation(MemcachedNode node,
Operation o)
|
void |
TapConnectionProvider.addTapAckOp(MemcachedNode node,
Operation op)
|
void |
MemcachedConnection.insertOperation(MemcachedNode node,
Operation o)
|
Operation |
BroadcastOpFactory.newOp(MemcachedNode n,
java.util.concurrent.CountDownLatch latch)
Construct a new operation for delivery to the given node. |
protected void |
MemcachedConnection.queueReconnect(MemcachedNode qa)
|
Method parameters in net.spy.memcached with type arguments of type MemcachedNode | |
---|---|
void |
MemcachedConnection.addOperations(java.util.Map<MemcachedNode,Operation> ops)
|
java.util.concurrent.CountDownLatch |
MemcachedClient.broadcastOp(BroadcastOpFactory of,
java.util.Collection<MemcachedNode> nodes)
|
java.util.concurrent.CountDownLatch |
MemcachedConnection.broadcastOperation(BroadcastOpFactory of,
java.util.Collection<MemcachedNode> nodes)
Broadcast an operation to a specific collection of nodes. |
NodeLocator |
KetamaConnectionFactory.createLocator(java.util.List<MemcachedNode> nodes)
|
NodeLocator |
DefaultConnectionFactory.createLocator(java.util.List<MemcachedNode> nodes)
|
NodeLocator |
ConnectionFactory.createLocator(java.util.List<MemcachedNode> nodes)
Create a NodeLocator instance for the given list of nodes. |
protected void |
KetamaNodeLocator.setKetamaNodes(java.util.List<MemcachedNode> nodes)
Setup the KetamaNodeLocator with the list of nodes it should use. |
void |
NodeLocator.updateLocator(java.util.List<MemcachedNode> nodes)
Update locator status. |
void |
KetamaNodeLocator.updateLocator(java.util.List<MemcachedNode> nodes)
|
void |
ArrayModNodeLocator.updateLocator(java.util.List<MemcachedNode> newNodes)
|
Constructor parameters in net.spy.memcached with type arguments of type MemcachedNode | |
---|---|
ArrayModNodeLocator(java.util.List<MemcachedNode> n,
HashAlgorithm alg)
Construct an ArraymodNodeLocator over the given array of nodes and using the given hash algorithm. |
|
KetamaNodeLocator(java.util.List<MemcachedNode> nodes,
HashAlgorithm alg)
Create a new KetamaNodeLocator using specified nodes and the specifed hash algorithm. |
|
KetamaNodeLocator(java.util.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 | |
---|---|
java.util.Collection<MemcachedNode> |
VBucketAware.getNotMyVbucketNodes()
|
Methods in net.spy.memcached.ops with parameters of type MemcachedNode | |
---|---|
void |
VBucketAware.addNotMyVbucketNode(MemcachedNode node)
|
void |
TapOperation.Callback.gotAck(MemcachedNode node,
TapOpcode opcode,
int opaque)
|
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(java.util.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 java.util.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.tapmessage |
---|
Methods in net.spy.memcached.tapmessage that return MemcachedNode | |
---|---|
MemcachedNode |
TapAck.getNode()
|
Constructors in net.spy.memcached.tapmessage with parameters of type MemcachedNode | |
---|---|
TapAck(TapConnectionProvider conn,
MemcachedNode node,
TapOpcode opcode,
int opaque,
OperationCallback cb)
|
Uses of MemcachedNode in net.spy.memcached.util |
---|
Fields in net.spy.memcached.util with type parameters of type MemcachedNode | |
---|---|
protected java.util.Map<MemcachedNode,java.lang.String> |
DefaultKetamaNodeLocatorConfiguration.socketAddresses
|
Methods in net.spy.memcached.util with parameters of type MemcachedNode | |
---|---|
java.lang.String |
KetamaNodeLocatorConfiguration.getKeyForNode(MemcachedNode node,
int repetition)
Returns a uniquely identifying key, suitable for hashing by the KetamaNodeLocator algorithm. |
java.lang.String |
DefaultKetamaNodeLocatorConfiguration.getKeyForNode(MemcachedNode node,
int repetition)
Returns a uniquely identifying key, suitable for hashing by the KetamaNodeLocator algorithm. |
protected java.lang.String |
DefaultKetamaNodeLocatorConfiguration.getSocketAddressForNode(MemcachedNode node)
Returns the socket address of a given MemcachedNode. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |