Class RedisJedisManager

java.lang.Object
org.apache.calcite.adapter.redis.RedisJedisManager
All Implemented Interfaces:
AutoCloseable

public class RedisJedisManager extends Object implements AutoCloseable
Manages connections to the Redis nodes.
  • Constructor Details

    • RedisJedisManager

      public RedisJedisManager(String host, int port, int database, String password)
  • Method Details

    • getJedisPool

      public redis.clients.jedis.JedisPool getJedisPool()
    • getResource

      public redis.clients.jedis.Jedis getResource()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable