摘要: Atitit mybatis 配置 redis 集成 attilax总结 艾提拉总结 1.1. setting name="cacheEnabled" v 1 1.2. Mapper文件 1 1.3. 使用与更新 ,默认select全部使用 2 1.4... 阅读全文
posted @ 2018-04-19 19:32 attilaxAti 阅读(32) 评论(0) 推荐(0) 编辑
摘要: Atitit mybatis缓存遇到的问题与解决 1.1. 只有getobj 没有执行putobject 1 1.2. 默认所有的select要读取缓存怎么办。。执行过滤 可以自己定义个白名单。 2 1.3. 默认namespace up del操作清空... 阅读全文
posted @ 2018-04-19 19:26 attilaxAti 阅读(53) 评论(0) 推荐(0) 编辑
摘要: Atitit redis使用 attilax 艾提拉总结 1.1. Redis默认有16个库,默认连接的是 index=0 的那一个。解决与原来不方便查询查看的问题 1 1.2. redis不是现场安全的,可以使用thradlocal隔离开 1 1.3... 阅读全文
posted @ 2018-04-19 19:24 attilaxAti 阅读(79) 评论(0) 推荐(0) 编辑
摘要: Atitit cache缓存之道 attilax 艾提拉总结 1. 使用缓存的目的(使用缓存) 1 1.1. 1、实现目标减少数据库的负担 1 1.2. 加快查询的速度 2 2. 缓存的常见参数 过期时间(秒 2 3. 缓存的实现远离原理 2 4. 缓存... 阅读全文
posted @ 2018-04-19 19:08 attilaxAti 阅读(51) 评论(0) 推荐(0) 编辑
摘要: Atitit SpringCache缓存使用 艾提拉 attilax总结 1. Spring的抽象已经做得够好了,适合于大多数场景,非常复杂的就需要自己AOP实现了。 1 1.1. 设置配置文件支持 applicataion.xml 1 1.2. ---... 阅读全文
posted @ 2018-04-19 19:06 attilaxAti 阅读(26) 评论(0) 推荐(0) 编辑
摘要: Atitit spring cache key的生成 与ken生成规范 1. Good key name meth.params 1 1.1. Use epl 的mode but only clss method ,and single param 1 ... 阅读全文
posted @ 2018-04-19 19:04 attilaxAti 阅读(44) 评论(0) 推荐(0) 编辑