开发者社区> 问答> 正文

OCS缓存如何使用

OCSjava版 报错,java.lang.RuntimeException: Exception waiting for value,能告诉如何解决么?完整错误

OCS Sample Code
2015-03-02 11:22:40.638 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for ocs1.
Set操作完成!
2015-03-02 11:22:41.646 WARN net.spy.memcached.protocol.binary.BinaryMemcachedNodeImpl:  Operation canceled because authentication or reconnection and authentication has taken more than one second to complete.
2015-03-02 11:22:41.675 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for ocs1.
2015-03-02 11:22:42.677 WARN net.spy.memcached.protocol.binary.BinaryMemcachedNodeImpl:  Operation canceled because authentication or reconnection and authentication has taken more than one second to complete.
java.lang.RuntimeException: Exception waiting for value
    at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1007)
    at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1024)
    at com.zuulee.mgr.common.AliyunCache.main(AliyunCache.java:43)
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:1003)
    ... 2 more
Caused by: java.lang.RuntimeException: Cancelled

展开
收起
租乐机械网 2015-03-02 11:46:38 7367 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
基于英特尔 SSD 的虚拟机缓存解决SSD 立即下载
用户态高速块缓存方案 立即下载
高性能Web架构之缓存体系 立即下载