//连接Jedis

public Jedis getJedis(){
Jedis jedis = new Jedis("192.168.1.12",6379);
//权限认证
// jedis.auth("admin");
return jedis;
}

 

//操作 String 

@org.junit.Test

// RedisUtil.returnResource(jedis);
}

相关文章:

  • 2021-07-22
  • 2021-07-12
  • 2022-02-28
  • 2021-06-28
  • 2021-10-20
  • 2021-10-13
  • 2021-09-27
  • 2021-06-19
猜你喜欢
  • 2021-05-27
  • 2021-08-27
  • 2021-05-21
  • 2021-10-30
相关资源
相似解决方案