read cache return null

http://stackoverflow.com/questions/8063590/unexpected-behaviour-after-memcached-server-restarts-how-to-configure-rectify-i
有个系统根据key读cache有时是null,看日志写缓存的时候有异常,是没写进去;看代码受到异常只是简单的future.cancel,可是异常本身是cancelledException;网上搜了下,需要认真对待这个异常,如果care就retry。

posted @ 2014-12-03 11:44  jvava  阅读(129)  评论(0编辑  收藏  举报