Package org.springframework.aop.target
Interface PoolingConfig
- All Known Implementing Classes:
AbstractPoolingTargetSource,CommonsPool2TargetSource,CommonsPoolTargetSource
public interface PoolingConfig
Config interface for a pooling target source.- Author:
- Rod Johnson, Juergen Hoeller
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActiveCount()Return the number of active objects in the pool.intgetIdleCount()Return the number of idle objects in the pool.intgetMaxSize()Return the maximum size of the pool.
Method Detail
getMaxSize
int getMaxSize()
Return the maximum size of the pool.
getActiveCount
int getActiveCount() throws UnsupportedOperationException
Return the number of active objects in the pool.- Throws:
UnsupportedOperationException- if not supported by the pool
getIdleCount
int getIdleCount() throws UnsupportedOperationException
Return the number of idle objects in the pool.- Throws:
UnsupportedOperationException- if not supported by the pool