| Methods in net.csdn.modules.thrift.pool that throw NoValidObjectException |
V |
ObjectPool.borrowObject(K key,
long timeoutInMillis)
Obtains an instance from this pool
Instances returned from this method will have been either newly created with
createObject or will be a previously idle object and
then validated with validateObject. |
V |
BaseObjectPool.borrowObject(K key,
long timeoutInMillis)
Obtains an instance from this pool
Instances returned from this method will have been either newly created with
createObject or will be a previously idle object and
then validated with validateObject. |
void |
BaseObjectPool.createAllMinObjects(K key)
Create objects using the factory until pool's minimum size, and then place them in the idle object pool
createAllMinObjects is useful for "pre-loading" a pool with idle objects. |