Class JedisWrapperPool

java.lang.Object
org.gorpipe.spark.platform.JedisWrapperPool
All Implemented Interfaces:
RedisPool

public class JedisWrapperPool
extends java.lang.Object
implements RedisPool
RedisPool implementation wrapping real connections
  • Constructor Summary

    Constructors 
    Constructor Description
    JedisWrapperPool​(redis.clients.jedis.JedisPool pool)
    Create pool
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JedisWrapperPool

      public JedisWrapperPool​(redis.clients.jedis.JedisPool pool)
      Create pool
      Parameters:
      pool - Jedis pool
  • Method Details