public class PooledConnectionProvider extends java.lang.Object implements ConnectionProvider
| Constructor and Description |
|---|
PooledConnectionProvider(HostAndPort hostAndPort) |
PooledConnectionProvider(HostAndPort hostAndPort,
JedisClientConfig clientConfig) |
PooledConnectionProvider(HostAndPort hostAndPort,
JedisClientConfig clientConfig,
Cache clientSideCache) |
PooledConnectionProvider(HostAndPort hostAndPort,
JedisClientConfig clientConfig,
Cache clientSideCache,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Connection> poolConfig) |
PooledConnectionProvider(HostAndPort hostAndPort,
JedisClientConfig clientConfig,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Connection> poolConfig) |
PooledConnectionProvider(org.apache.commons.pool2.PooledObjectFactory<Connection> factory) |
PooledConnectionProvider(org.apache.commons.pool2.PooledObjectFactory<Connection> factory,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Connection> poolConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Connection |
getConnection() |
Connection |
getConnection(CommandArguments args) |
java.util.Map<?,Pool<Connection>> |
getConnectionMap() |
Pool<Connection> |
getPool() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrimaryNodesConnectionMappublic PooledConnectionProvider(HostAndPort hostAndPort)
public PooledConnectionProvider(HostAndPort hostAndPort, JedisClientConfig clientConfig)
@Experimental public PooledConnectionProvider(HostAndPort hostAndPort, JedisClientConfig clientConfig, Cache clientSideCache)
public PooledConnectionProvider(HostAndPort hostAndPort, JedisClientConfig clientConfig, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Connection> poolConfig)
@Experimental public PooledConnectionProvider(HostAndPort hostAndPort, JedisClientConfig clientConfig, Cache clientSideCache, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Connection> poolConfig)
public PooledConnectionProvider(org.apache.commons.pool2.PooledObjectFactory<Connection> factory)
public PooledConnectionProvider(org.apache.commons.pool2.PooledObjectFactory<Connection> factory, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Connection> poolConfig)
public void close()
close in interface java.lang.AutoCloseablepublic final Pool<Connection> getPool()
public Connection getConnection()
getConnection in interface ConnectionProviderpublic Connection getConnection(CommandArguments args)
getConnection in interface ConnectionProviderpublic java.util.Map<?,Pool<Connection>> getConnectionMap()
getConnectionMap in interface ConnectionProviderCopyright © 2025. All rights reserved.