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 Summary

    Modifier and Type Method Description
    void destroy()
    Destroy pool
    Redis getResource()
    Get resource from pool.
    int inUse()  
  • Method Details

    • getResource

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

      void destroy()
      Destroy pool
    • inUse

      int inUse()
      Returns:
      Number of connections in use