MemcacheD 一直运行良好,直到我们最近从 Java 6 切换到 Java 7。现在我们不断收到如下异常:
java.lang.RuntimeException: Exception waiting for value
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1025)
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1042)
...
...
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Cancelled
at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:169)
at net.spy.memcached.internal.GetFuture.get(GetFuture.java:62)
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1021)
和这个
java.lang.RuntimeException: Failed waiting for store
at net.spy.memcached.MemcachedClient.mutateWithDefault(MemcachedClient.java:1696)
at net.spy.memcached.MemcachedClient.incr(MemcachedClient.java:1806)
...
...
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Cancelled
at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:169)
at net.spy.memcached.MemcachedClient.mutateWithDefault(MemcachedClient.java:1687)
... 75 more
谢谢你的帮助!