Package net.rubyeye.xmemcached
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
-
Interface Summary Interface Description CASOperation<T> CAS operation,encapsulate gets and cas commands,and supports retry times.CommandFactory KeyIterator Deprecated. memcached 1.6.x will remove cachedump stats command,so this feature will be removed in the futureKeyProvider Key provider to pre-process keys before sending to memcached.MemcachedClient The memcached client's interfaceMemcachedClientBuilder Builder pattern.Configure XmemcachedClient's options,then build itMemcachedClientCallable<T> MemcachedClient callable when using namespace in xmemcached.For example:MemcachedClientStateListener 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.MemcachedOptimizer xmemcached OptimizerMemcachedSessionComparator Session comparator.MemcachedSessionLocator Session locator.Find session by key.XMemcachedClientMBean XMemcachedClientMBean.It is used for JMX to add/remove memcached server. -
Class Summary Class Description Counter Counter,encapsulate the incr/decr methods.FlowControl Flow control for noreply operations.GetsResponse<T> Response for gets command.It's a value object.XMemcachedClient Memcached Client for connecting to memcached server and do operations.XMemcachedClientBuilder Builder pattern.Configure XmemcachedClient's options,then build it -
Enum Summary Enum Description HashAlgorithm Known hashing algorithms for locating a server for a key.