redis.clients.jedis
Class JedisPool

java.lang.Object
  extended by redis.clients.util.Pool<Jedis>
      extended by redis.clients.jedis.JedisPool

public class JedisPool
extends Pool<Jedis>


Constructor Summary
JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig, String host)
           
JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig, String host, int port)
           
JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig, String host, int port, int timeout)
           
JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig, String host, int port, int timeout, String password)
           
JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig, String host, int port, int timeout, String password, int database)
           
JedisPool(String host)
           
JedisPool(String host, int port)
           
 
Method Summary
 void returnBrokenResource(BinaryJedis resource)
           
 void returnResource(BinaryJedis resource)
           
 
Methods inherited from class redis.clients.util.Pool
destroy, getResource, returnBrokenResource, returnBrokenResourceObject, returnResource, returnResourceObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JedisPool

public JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig,
                 String host)

JedisPool

public JedisPool(String host,
                 int port)

JedisPool

public JedisPool(String host)

JedisPool

public JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig,
                 String host,
                 int port,
                 int timeout,
                 String password)

JedisPool

public JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig,
                 String host,
                 int port)

JedisPool

public JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig,
                 String host,
                 int port,
                 int timeout)

JedisPool

public JedisPool(org.apache.commons.pool.impl.GenericObjectPool.Config poolConfig,
                 String host,
                 int port,
                 int timeout,
                 String password,
                 int database)
Method Detail

returnBrokenResource

public void returnBrokenResource(BinaryJedis resource)

returnResource

public void returnResource(BinaryJedis resource)


Copyright © 2012. All Rights Reserved.