File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11##更新日志
22
3+ * ####4 .11 修改说明:
4+
5+ * 增加刷新缓存数据功能,如果不使用自动加载,则在缓存即将过期时,开启线程进行异步刷新数据,可以减少用户的等待,避免因缓存失效失效造成系统压力过大;
6+ * 在刷新缓存和自动加载缓存中,如果从数据层加载数据时,发生异常,则使用旧数据进行续租(如果有旧数据的话),达到提前预防缓存失效后,系统压力过大问题;
7+ * 解决使用fastjson进行深度复制数据组时,转换错误的问题;
8+ * 增加使用cloning进行深度复制,性能要比fastjson提高50%。相关的测试代码在:com.test.fastjson.CloningTest和com.test.fastjson.DeepCloneTest两个类中;
9+ * 将数据加载功能从AbstractCacheManager中移到DataLoader中,使得代码更加清晰易懂;
10+
311* ####4 .10 增加使用Fastjson进行序列化的支持,同时也增加了对比较大的数据进行压缩的工具。
412
513* ####4 .9 去除默认的serializer和scriptParser,以便于与Spring 进行强解耦。
Original file line number Diff line number Diff line change 22 <modelVersion >4.0.0</modelVersion >
33 <groupId >com.github.qiujiayu</groupId >
44 <artifactId >autoload-cache</artifactId >
5- <version >4.11-SNAPSHOT </version >
5+ <version >4.11</version >
66 <packaging >jar</packaging >
77 <name >AutoLoadCache</name >
88 <description >User Spring AOP and annotation to do with cache.</description >
You can’t perform that action at this time.
0 commit comments