码迷,mamicode.com
首页 > 系统相关 > 详细

autoload-cache-1.0 发布

时间:2015-03-11 17:36:33      阅读:255      评论:0      收藏:0      [点我收藏+]

标签:

autoload-cache-1.0 发布

变更记录:

  1. @Cache 中增加 autoloadCondition ,用于动态设置autoload值;
  2. 把CacheGeterSeter 更名为 ICacheManager;
  3. 增加AbstractCacheManager抽象类,并将CachePointCut类改为继承此类;以便于实现一个工程中,使用多个缓存aop配置。
  4. 中method 值改为 “proceed”;
  5. 增加AdminServlet,在页面中打印自动加载队列所有内容,同时增加删除缓存等功能。
  6. 往redis set 数据方法变更,使用setEx方法代替 set + expire,提升操作性能;

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

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

autoload-cache-1.0 发布

标签:

原文地址:http://my.oschina.net/u/1469495/blog/385294

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!