##redis配置详解 # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.conf # Note on units: when memory size is needed, i
springdata设计初衷是位简化数据类型和数据的持久化存储,它并不局限是关系型数据库还是nosql数据库,都提供了简化的数据库连接,让数据获取变得更加的简单.所有这些的实现有统一的api提供. 本文主要设置spring-data-redis的相关配置特性: 1.RedisTemplate:高度封装的,自动连接池管理类; 2.对数据类型进行了归类,封装了操作接口类: a) ValueOperations:key-value操作 b) setOperations:set的相关操作 c) Zset