Skip to end of metadata
Go to start of metadata

redis://

(+) (#)

2.3.0以上版本支持。
Redis说明
Redis是一个高效的KV存储服务器,参见:http://redis.io

可以通过脚本或监控中心手工填写表单注册redis服务的地址:

然后在客户端使用时,不需要感知Redis的地址:

或者,点对点直连:

也可以使用自定义接口:

方法名建议和redis的标准方法名相同,即:get(key), set(key, value), delete(key)。

如果方法名和redis的标准方法名不相同,则需要配置映射关系:(其中"p:xxx"为spring的标准p标签)

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.