Class RedisPoolExecutor

    • Field Detail

      • pool

        protected redis.clients.util.Pool<redis.clients.jedis.Jedis> pool
      • holder

        protected final ThreadLocal<redis.clients.jedis.Jedis> holder
    • Constructor Detail

      • RedisPoolExecutor

        public RedisPoolExecutor​(redis.clients.util.Pool<redis.clients.jedis.Jedis> pool)
    • Method Detail

      • execute

        public <T> T execute​(RedisCallable<T> callable)
                      throws redis.clients.jedis.exceptions.JedisException
        Throws:
        redis.clients.jedis.exceptions.JedisException
      • getPool

        public redis.clients.util.Pool<redis.clients.jedis.Jedis> getPool()
      • startMonitor

        public void startMonitor()
        Description copied from interface: RedisExecutor
        Start to trace Redis activity only for debug purpose.
      • stopMonitor

        public void stopMonitor()
        Description copied from interface: RedisExecutor
        Stop tracing Redis activity.