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。

原文地址:https://www.cnblogs.com/jvava/p/4139635.html