- 获取连接池对象,需要三个参数
- 参数一:配置文件,设置最大连接数和保持idel状态的对象数
- 参数二:连接redis服务器的地址
- 参数三:端口
/**
* 连接池的使用
*/
@Test
public void test6(){
//配置对象
JedisPoolConfig config = new JedisPoolConfig();
config.setMaxTotal
/**
* 连接池的使用
*/
@Test
public void test6(){
//配置对象
JedisPoolConfig config = new JedisPoolConfig();
config.setMaxTotal