0

异常的标题是“java.util.concurrent.TimeoutException: Timed out(5000) waiting for operation”!如何设置一个合适的时间不超过超时限制?!整个异常堆栈是:

**java.util.concurrent.TimeoutException: Timed out waiting for operation
    at net.rubyeye.xmemcached.XMemcachedClient.getMulti0(XMemcachedClient.java:1155)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1026)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1064)
    at net.rubyeye.xmemcached.XMemcachedClient.get(XMemcachedClient.java:1051)
    ......
4

1 回答 1

0

很多原因都会导致ttserver客户端抛出TimeoutException。在我的情况下,这是因为复制到一个不存在的节点。所以当删除启动参数mhost和mport时,问题就解决了.....

希望这可以帮助别人....

于 2012-07-24T09:49:35.210 回答