nfhu / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

MemcachedClient能不能提供事件和状态查看 #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
请问MemcachedClient有没有判断服务器状态的API?
MemcachedClient和服务器断开会自动重连,但是MemcachedClient无法��
�知底层的MemcachedConnector已经和服务器失去连接,还在不停get�
��停报错。

还有就是希望能提供事件,比如连接成功和失败事件,方便��
�行后续处理,谢谢!

Original issue reported on code.google.com by 26106...@qq.com on 29 Oct 2010 at 4:41

GoogleCodeExporter commented 9 years ago
有的,实现MemcachedClientStateListener接口并添加到MemcachedClient即�
��

http://xmemcached.googlecode.com/svn/trunk/apidocs/net/rubyeye/xmemcached/Memcac
hedClientStateListener.html

Original comment by killme2...@gmail.com on 29 Oct 2010 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by killme2...@gmail.com on 29 Oct 2010 at 5:05