赞
踩
org.redisson.api.RedissonClient 是 Redisson 的 Java 客户端,可以通过配置文件或编程方式创建连接。
配置文件方式:可以使用 JSON, YAML 或 Spring 配置文件来配置 RedissonClient。
编程方式:可以使用 RedissonClientBuilder 来编程方式创建 RedissonClient。
常用的参数有:
具体参数调优取决于不同的使用场景和服务器性能。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。