Interface RedisPool

  • All Known Implementing Classes:
    JedisWrapperPool

    public interface RedisPool
    Redis connection pool.

    Pool interface that uses JedisCommands - used to make unit testing easier.

    • Method Detail

      • getResource

        Redis getResource()
        Get resource from pool.
        Returns:
        Redis connection
      • destroy

        void destroy()
        Destroy pool
      • inUse

        int inUse()
        Returns:
        Number of connections in use