Open sagarsitap596 opened 5 years ago
I have a redis cluster so I use Jedis Cluster for connecting to redis.
Jedis jedis = new Jedis("localhost"); JedisLock lock = new JedisLock(jedis, "lockname", 10000, 30000);
Since JedisLock requires Jedis object and not JedisCluster. how do i use it to use Jedis l;ick functionality in redis clsuter
I have made it work with Jedis Cluster, please see my forked version.
I have a redis cluster so I use Jedis Cluster for connecting to redis.
Jedis jedis = new Jedis("localhost"); JedisLock lock = new JedisLock(jedis, "lockname", 10000, 30000);
Since JedisLock requires Jedis object and not JedisCluster. how do i use it to use Jedis l;ick functionality in redis clsuter