接口 PoolingConfig
public interface PoolingConfig
Config interface for a pooling target source.- 作者:
- Rod Johnson, Juergen Hoeller
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 int
getActiveCount()
Return the number of active objects in the pool.int
getIdleCount()
Return the number of idle objects in the pool.int
getMaxSize()
Return the maximum size of the pool.
方法详细资料
getMaxSize
int getMaxSize()
Return the maximum size of the pool.
getActiveCount
int getActiveCount() throws UnsupportedOperationException
Return the number of active objects in the pool.- 抛出:
UnsupportedOperationException
- if not supported by the pool
getIdleCount
int getIdleCount() throws UnsupportedOperationException
Return the number of idle objects in the pool.- 抛出:
UnsupportedOperationException
- if not supported by the pool