程序包 | 说明 |
---|---|
com.sh.common.net.ftp | |
org.apache.commons.pool2 | |
org.apache.commons.pool2.impl |
Object pooling API implementations.
|
redis.clients.jedis | |
redis.clients.jedis.util |
限定符和类型 | 类和说明 |
---|---|
class |
FtpClientFactory
Description: FTPClient工厂类,通过FTPClient工厂提供FTPClient实例的创建和销毁
Title:首亨软件 - 聚天平台
|
限定符和类型 | 类和说明 |
---|---|
class |
BasePooledObjectFactory<T>
A base implementation of
PoolableObjectFactory . |
限定符和类型 | 方法和说明 |
---|---|
static <T> PooledObjectFactory<T> |
PoolUtils.synchronizedPooledFactory(PooledObjectFactory<T> factory)
Returns a synchronized (thread-safe) PooledObjectFactory backed by the
specified PooledObjectFactory.
|
限定符和类型 | 方法和说明 |
---|---|
static <T> PooledObjectFactory<T> |
PoolUtils.synchronizedPooledFactory(PooledObjectFactory<T> factory)
Returns a synchronized (thread-safe) PooledObjectFactory backed by the
specified PooledObjectFactory.
|
限定符和类型 | 方法和说明 |
---|---|
PooledObjectFactory<T> |
SoftReferenceObjectPool.getFactory()
Gets the
PooledObjectFactory used by this pool to create and
manage object instances. |
PooledObjectFactory<T> |
GenericObjectPool.getFactory()
Gets a reference to the factory used to create, destroy and validate
the objects used by this pool.
|
构造器和说明 |
---|
GenericObjectPool(PooledObjectFactory<T> factory)
Creates a new
GenericObjectPool using defaults from
GenericObjectPoolConfig . |
GenericObjectPool(PooledObjectFactory<T> factory,
GenericObjectPoolConfig<T> config)
Creates a new
GenericObjectPool using a specific
configuration. |
GenericObjectPool(PooledObjectFactory<T> factory,
GenericObjectPoolConfig<T> config,
AbandonedConfig abandonedConfig)
Creates a new
GenericObjectPool that tracks and destroys
objects that are checked out, but never returned to the pool. |
SoftReferenceObjectPool(PooledObjectFactory<T> factory)
Create a
SoftReferenceObjectPool with the specified factory. |
限定符和类型 | 类和说明 |
---|---|
class |
JedisFactory
PoolableObjectFactory custom impl.
|
构造器和说明 |
---|
JedisPool(GenericObjectPoolConfig poolConfig,
PooledObjectFactory<Jedis> factory) |
JedisPoolAbstract(GenericObjectPoolConfig<Jedis> poolConfig,
PooledObjectFactory<Jedis> factory)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
void |
Pool.initPool(GenericObjectPoolConfig<T> poolConfig,
PooledObjectFactory<T> factory)
已过时。
This method will be private in future.
|
构造器和说明 |
---|
Pool(GenericObjectPoolConfig<T> poolConfig,
PooledObjectFactory<T> factory) |