Java 的 Memcached 客户端 xmemcached 发布 1.4 版本,该版本改进内容包括:
- Added setOpTimeout for client builder.
- Monitor timeout request in exception message.
- Added RandomMemcachedSessionLocaltor for kestrel protocol
- When timeout exception happens in a connection continuously,we will close it,then it will be tried to reconnect.The maximum number of timeout exception can be set by setTimeoutExceptionThreshold method in client,default value is 1000.
- Added a new constructor for client builder that accepts a string server list.Thanks @bmahe.
Xmemcached是基于java nio实现的高性能可扩展的memcached客户端。
实际上是基于我实现的一个nio框架Yan4j的基础上实现的(目前是基于yanf4j 0.61-snapshot),序列化机制使用spymemcached的Transcoder并做了部分改造。
XMemcached 的下载地址:请点这里
