redis.clients.jedis
Class JedisPool
java.lang.Object
redis.clients.util.Pool<Jedis>
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
returnBrokenResource
public void returnBrokenResource(BinaryJedis resource)
returnResource
public void returnResource(BinaryJedis resource)
Copyright © 2012. All Rights Reserved.