Spring Boot Redis operation of the package, which interface Operations.
Use steps:
1. increased reliance. (A little longer)
2. configuration properties. (Does not affect unworthy)
Configuration package provided Spring Boot objects and redisTemplate Redis Cache configuration.
4. Use only the service layer redisTemplate redisTemplate method or packaged as service class.