Common class to RedisClient, RedisClusterClient, RedisSentinelClient

7 views
Skip to first unread message

Oscar Besga

unread,
Dec 28, 2025, 6:35:30 AM (13 days ago) 12/28/25
to Jedis
Hi

I'm looking at the new classes RedisClient, RedisClusterClient, RedisSentinelClient in the 7.2.0 release. They operate like the old JedisPooled, more or less.
But because I'm working on a utilities library, JedisExtraUtils, using one of the will limit how the users can interact with my code.

So, to use a common class, I should go with UnifiedJedis; which covers all the Redis commands and is the parent of all three.
Then the client can use one or another freely.

Is my approach rigth ?

https://github.com/oscar-besga-panel/JedisExtraUtils
Reply all
Reply to author
Forward
0 new messages