Package net.rubyeye.xmemcached
package net.rubyeye.xmemcached
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
-
ClassDescriptionCASOperation<T>CAS operation,encapsulate gets and cas commands,and supports retry times.Counter,encapsulate the incr/decr methods.Flow control for noreply operations.GetsResponse<T>Response for gets command.It's a value object.Known hashing algorithms for locating a server for a key.Deprecated.memcached 1.6.x will remove cachedump stats command,so this feature will be removed in the futureKey provider to pre-process keys before sending to memcached.The memcached client's interfaceBuilder pattern.Configure XmemcachedClient's options,then build itMemcachedClient callable when using namespace in xmemcached.For example: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.xmemcached OptimizerSession comparator.Session locator.Find session by key.Memcached Client for connecting to memcached server and do operations.Builder pattern.Configure XmemcachedClient's options,then build itXMemcachedClientMBean.It is used for JMX to add/remove memcached server.