摘要: 线程内部缓存:a. 局部变量HashMap, 方法间传递 b. 使用ThreadLocal 本地缓存:单jvm内共享 可以使用(Concurrent)HashMap自己实现,也可以使用GuavaCache。 guavaCache支持过期自动删除(全局的过期时间),垃圾回收, 回收通知。。。 远程缓存 阅读全文
posted @ 2018-08-05 19:08 funny_coding 阅读(2327) 评论(0) 推荐(0) 编辑
build beautiful things, share happiness