What is Jedis?
Jedis is a Java client for Redis designed for performance and ease of use.
Are you looking for a high-level library to handle object mapping? See redis-om-spring!
How do I Redis?
Learn for free at Redis University
Build faster with the Redis Launchpad
Easier way of using connection pool
Using a try-with-resources block for each command may be cumbersome, so you may consider using JedisPooled.
JedisPooled jedis = new JedisPooled("localhost", 6379);
Now you can send commands like sending from Jedis.
jedis.sadd("planets", "Venus");
Documentation
The Jedis wiki contains several useful articles for using Jedis.
You can also check the latest Jedis Javadocs.
Some specific use-case examples can be found in redis.clients.jedis.examples
package of the test source codes.
Troubleshooting
If you run into trouble or have any questions, we’re here to help!
Hit us up on the Redis Discord Server or Jedis GitHub Discussions or Jedis mailing list.