Package redis.clients.jedis
Class ConnectionPool
- java.lang.Object
-
- redis.clients.jedis.util.Pool<Connection>
-
- redis.clients.jedis.ConnectionPool
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
@Deprecated public class ConnectionPool extends Pool<Connection>
Deprecated.ConnectionPool is not supported in the GLIDE compatibility layer. Use JedisPool for connection pooling instead. See Migration guide for more details.ConnectionPool compatibility stub for Valkey GLIDE wrapper.
-
-
Field Summary
-
Fields inherited from class redis.clients.jedis.util.Pool
internalPool
-
-
Constructor Summary
Constructors Constructor Description ConnectionPool()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ConnectiongetResource()Deprecated.Get a resource from the pool.-
Methods inherited from class redis.clients.jedis.util.Pool
addObjects, close, closeInternalPool, getCreatedCount, getDestroyedCount, getMaxBorrowWaitTimeMillis, getMaxTotal, getMeanBorrowWaitTimeMillis, getNumActive, getNumIdle, getNumWaiters, initPool, initPool, invalidateObject, isClosed, returnResource, returnResourceObject
-
-
-
-
Method Detail
-
getResource
public Connection getResource()
Deprecated.Description copied from class:PoolGet a resource from the pool.- Overrides:
getResourcein classPool<Connection>- Returns:
- a resource from the pool
-
-