RedisTemplate的使用说明(序列化以及事物)
SDR官方文档中对RedisTemplate的介绍:the template is in fact the central class of the Redis module due to its rich feature set. The template offers a high-level abstraction for Redis interactions.
通过RedisTemplate可以调用ValueOperations,ListOperations,SetOperations,ZSetOperations等方法,分别是对Redis命令的高级封装。