| Package | Description |
|---|---|
| net.csdn.modules.thrift.pool |
| Class and Description |
|---|
| BaseObjectPool.Builder |
| NoValidObjectException
This exception will be thrown when the pool cannot create a new instance by
PoolableObjectFactory.createObject(K)
or there are no valid instances which used to be tested by PoolableObjectFactory.validateObject(K, V) |
| ObjectPool
Keyed object pooling interface
ObjectPool interface mainly defines
borrowObject, returnObject and removeObject. |
| PoolableObjectFactory
An interface defining life-cycle methods for instances to be served by a
ObjectPool
By contract, when an ObjectPool delegates to a PoolableObjectFactory,
createObject is called whenever a new instance is needed. |
| PoolExhaustedException
This exception will be thrown when the pool is exhausted and cannot or will not borrow another instance
|
Copyright © 2020. All rights reserved.