Add a common interface for JedisCommands and JedisClusterCommands
See original GitHub issueHey guys, i’m having some trouble migrating this project: https://github.com/jlinn/quartz-redis-jobstore to jedis 3.0.x
So in the previous (2.9.x) version the JedisCluster
was implementing JedisCommands
and in 3.0.x it now implements a different interface JedisClusterCommands
which has most of the JedisCommands
methods in. Can we have all the common methods extracted to a common interface to both JedisClusterCommands
and JedisCommands
?
Something like:
TOP_INTF
/ \
JedisCommands JedisClusterCommands
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:6
Top Results From Across the Web
Add a common interface for JedisCommands and ... - GitHub
Hey guys, i'm having some trouble migrating this project: https://github.com/jlinn/quartz-redis-jobstore to jedis 3.0.x So in the previous ...
Read more >Common interface for Jedis and JedisCluster - Stack Overflow
1 Answer 1 · JedisCluster implements JedisClusterCommands and not JedisCommands. · public class JedisCluster extends BinaryJedisCluster implements JedisCommands, ...
Read more >Index (Jedis 3.1.0 API) - javadoc.io
Asynchronously save the DB on disk. bgsave() - Method in interface redis.clients.jedis.commands.BasicCommands. Save the DB in background. bgsave() ...
Read more >Deeply analyze the characteristics and principles of Redis ...
In BinaryJedis class, there is a Client class object that interfaces with Redis. Jedis can read and write Redis through the Client object...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I don’t see why we cannot unify interfaces to avoid duplication. WDYT @gkorland / @sazzad16 ?
Resolved by #2693