All Classes and Interfaces
Class
Description
Base controller
A base implementation of
IoBuffer
.Abstract session locator
Abstract nio session
Base connection
Connection comparator,compare with Address
Convenience utilities for simplifying common address parsing.
Session locator base on hash(key) mod sessions.size().Standard hash strategy
Assoc commands aware interface.Association commands mean that commands has the same key.
Authentication infomation for a memcached server
Client state listener for auth
Authentication task
AWS ElasticCache Client.
AWSElasticCacheClient builder.
AWS get config command
Base Binary command.
Base class for any transcoders that may want to work with serialized or compressed data.
Binary protocol for append,prepend
List auth mechanisms command
Auth start command
Auth step command
AWS ElasticCache config command
CAS binary protocol implementation
Binary protocol command factory
Binary protocol decode status.
Binary delete command
Flush command for binary protocol
Binary GAT/GATQ command
Implements get/getq,getk/getkq protocol
A command for holding getkq commands
Binary incr/decr command
Implement noop protocol
Quit command for binary protocol
A command for holding getkq commands
Stats command for binary protocol
Base binary protocol implementation
Binary touch command
Binary verbosity command
Version command for binary protocol
Deprecated.
A
RuntimeException
which is thrown when the data the IoBuffer
contains is
corrupt.Default codec factory
ByteBuffer matcher
Utilities for byte process
An
IoBufferAllocator
that caches the buffers which are likely to be reused during
auto-expansion of the buffers.Deprecated.
Cached data with its attributes.
AWS ElasticCache Node information.
CAS operation,encapsulate gets and cas commands,and supports retry times.
A circular queue from mina
Closed session
Cluster configuration retrieved from ElasticCache.
Codec factory
Abstract Memcached Command
Command Type for memcached protocol.
Compress mode for compressing data
A
ConcurrentHashMap
-backed Set
.AWS ElasticCache config update event listener.
Networking configuration
AWS ElastiCache configuration poller
Connect operation future
Connector which is used to connect to memcached server.
Constants
Networking Controller
Controller lifecycle mark interface
Controller state listener
Counter,encapsulate the incr/decr methods.
Default key provider,returns the key itself.
Default statistics implementation
Dispatcher
Dispatcher Factory
Election hash strategy
Event Type
Fast string utf encoder.
Flow control for noreply operations.
Simple
Future
implementation, which uses ReentrantLock
to synchronize during the
lifecycle.Response for gets command.It's a value object.
IO Event handler
IO Handler adapter
Known hashing algorithms for locating a server for a key.
Connection comparator,compare with index
InetSocketAddress wrapper,encapsulate an order number.
Transcoder that serializes and unserializes longs.
A byte buffer used by MINA applications.
Deprecated.
Allocates
IoBuffer
s and manages them.Provides utility methods to dump an
IoBuffer
into a hex formatted string.A
IoBuffer
that wraps a buffer and proxies any operations to it.Kestrel is a message queue written in scala by robey(http://github.com/robey/kestrel).It's
protocol use memcached text protocol,so you can use any memcached clients to talk with it.But
it's protocol implementation is not all compatible with memcached standard protocol,So xmemcached
supply this command factory for it.
Kestrel flush command
Kestrel get command
kestrel set command
Consistent Hash Algorithm implementation,based on TreeMap.tailMap(hash) method.
Deprecated.
memcached 1.6.x will remove cachedump stats command,so this feature will be removed
in the future
Default key iterator implementation
Key provider to pre-process keys before sending to memcached.
Consistent Hash Algorithm implementation is compatible with libmemcached method.
An unbounded TransferQueue based on linked nodes.
Padded version of AtomicReference used for head, tail and cleanMe, to alleviate contention
across threads CASing one vs the other.
Node class for LinkedTransferQueue.
Transcoder that serializes and unserializes longs.
Command which implement this interface,it's return value is a map
The memcached client's interface
Builder pattern.Configure XmemcachedClient's options,then build it
MemcachedClient callable when using namespace in xmemcached.For example:
Memcached Client Exception
MemcachedClient insntance name holder
MemcachedClient state listener.When client startup,shutdown,connected to a memcached server or
disconnected happened,client will notify the listener instance which implemented this
interface.Please don't do any operations which may block in these callback methods.
Adapte MemcachedClientStateListener to yanf4j's ControllStateListener
Memcached protocol codec factory
Connected session manager
Memcached decode exception
Memcached protocol decoder
memcached protocol encoder
Base exception type for memcached client
Memcached Session Handler,used for dispatching commands and session's lifecycle management
xmemcached Optimizer
Memcached server exception
Abstract interface for memcached connection.
Session comparator.
Session locator.Find session by key.
Connected session for a memcached server
Merge commands aware interface.Merge commands mean that merge get commands to a bulk-get
commands.
Base nio controller
Nio connection
Nio session configuration
Nio tcp connection
Memcached Client Exception
Opaque generator for memcached binary xxxq(getq,addq etc.) commands
Binary command Opcodes
Command status.
Memcached command optimizer,merge single-get comands to multi-get command,
merge ByteBuffers to fit the socket's sendBufferSize etc.
OptimizerMBean,used for changing the optimizer's factor
Session locator base on hash(key) mod sessions.size().
A callback handler for name/password authentication
Pool dispatcher,wrap a threadpool.
java.util.Property utils
Memcached protocol enum
A random session locator,it can be used in kestrel.
Reactor pattern
A auto reconnect request,associating a socket address for reconnecting
Resource utils
Binary protocol response status.
A round-robin session locator for some special applications,memcacheq or kestrel etc.They doesn't
need the same key must always to be stored in same memcached but want to make a cluster.
SelectionKey handler
Temp selector factory,come from grizzly
Selector manager
Transcoder that serializes and compresses objects.
Server address aware interface.Command which implement this interface have these methods to
getter/setter memcached's InetSocketAddress.
Abstract connection
Session configuration
Session manager
ByteBuffer matcher based on shift-and algorithm
ByteBuffer matcher based on shift-or algorithm
A simplistic
IoBufferAllocator
which simply allocates a new buffer every time.Deprecated.
Deprecated.
Simple queue.
A simple statistics implementation
Nio tcp socket controller
Socket option
Standard socket options
Statistics
Statistics helper
Statistics MBean for jmx
A store command interface for STORE commands such as SET,ADD
String Transcoder
System utils
Controller for tcp server
AWS ElasticCache config command, see Adding Auto Discovery To Your Client Library.
CAS command for text protocol
Command Factory for creating text protocol commands.
Delete command for text protocol
FlushAll command for text protocol
Abstract get command for text protocol
Bulk-get command for text protocol
Get command for text protocol
Incr/Decr command for text protocol
Text line codec factory
Quit command for text protocol
Stats command for text protocol
Store command for text protocol
Touch command for touch protocol.
Verbosity command for text protocol
Version command for text protocol
Transcoder for TokyoTyrant.Add 4-bytes flag before value.
Transcoder is an interface for classes that convert between byte arrays and objects for storage
in the cache.
Utility class for transcoding Java types.
A
BlockingQueue
in which producers may wait for consumers to receive elements.Unknown command exception
Abstract verbosity command for text protocol
Transcoder that provides compatibility with Greg Whalin's memcached client.
Handles old whalin (tested with v1.6) encoding: data type is in the first byte of the value.
Thread factory for worker thread
Write message with a buffer
Write message implementation with a buffer
Memcached Client for connecting to memcached server and do operations.
Builder pattern.Configure XmemcachedClient's options,then build it
XMemcachedClientMBean.It is used for JMX to add/remove memcached server.
Enable JMX supports,default is false:
java -Dxmemcached.jmx.enable=true -Dxmemcached.rmi.port=7077
-Dxmemcached.rmi.name=xmemcachedServer
Access MBean through:
service:jmx:rmi:///jndi/rmi://[host]:7077/xmemcachedServer
You can add or remove memcached server dynamically and monitor XmemcachedClient?'s behavior
through MBeans.Other options:
-Dxmemcached.rmi.port
-Dxmemcached.rmi.name