autoload-cache-1.0 发布

autoload-cache-1.0 发布git

变动记录:github

  1. @Cache 中增长 autoloadCondition ,用于动态设置autoload值;
  2. 把CacheGeterSeter 改名为 ICacheManager;
  3. 增长AbstractCacheManager抽象类,并将CachePointCut类改成继承此类;以便于实现一个工程中,使用多个缓存aop配置。
  4. < aop:around pointcut-ref="..." method="proceed" /> 中method 值改成 "proceed";
  5. 增长AdminServlet,在页面中打印自动加载队列全部内容,同时增长删除缓存等功能。
  6. 往redis set 数据方法变动,使用setEx方法代替 set + expire,提高操做性能;

更加详细内容,请查看https://github.com/qiujiayu/AutoLoadCacheredis

还有实例代码: https://github.com/qiujiayu/cache-example缓存

相关文章
相关标签/搜索