抽象和接口的区别 写在前面 一、本地缓存 1.1、Guava + @Cacheable 1.2、EhCache + @Cacheable 1.3、HazelCast + @Cacheable() 二、缓存服务器 Redis 2.1、Redis + @Cacheable 2.2、Redistemplate 2.3、Redission 写在前面 Spring中,缓存的使用,主要是配置一个cacheManage,缓存数据的存放,就要考虑,是缓存本地还是缓存服务器,缓存本地有很多优秀的基于本地缓存的框架,Guava,EhCache,HazelCast,缓存服务器主要是redi...