程序包 infra.aop.target
接口 PoolingConfig
public interface PoolingConfig
Config interface for a pooling target source.
- 从以下版本开始:
- 4.0
- 作者:
- Rod Johnson, Juergen Hoeller
-
方法概要
修饰符和类型方法说明intReturn the number of active objects in the pool.intReturn the number of idle objects in the pool.intReturn the maximum size of the pool.
-
方法详细资料
-
getMaxSize
int getMaxSize()Return the maximum size of the pool. -
getActiveCount
Return the number of active objects in the pool.- 抛出:
UnsupportedOperationException- if not supported by the pool
-
getIdleCount
Return the number of idle objects in the pool.- 抛出:
UnsupportedOperationException- if not supported by the pool
-