Package org.springframework.aop.target
Interface PoolingConfig
- All Known Implementing Classes:
- AbstractPoolingTargetSource,- CommonsPool2TargetSource
public interface PoolingConfig
Config interface for a pooling target source.
- Author:
- Rod Johnson, Juergen Hoeller
- 
Method SummaryModifier and TypeMethodDescriptionintReturn the number of active objects in the pool.intReturn the number of idle objects in the pool.intReturn the maximum size of the pool.
- 
Method Details- 
getMaxSizeint getMaxSize()Return the maximum size of the pool.
- 
getActiveCountReturn the number of active objects in the pool.- Throws:
- UnsupportedOperationException- if not supported by the pool
 
- 
getIdleCountReturn the number of idle objects in the pool.- Throws:
- UnsupportedOperationException- if not supported by the pool
 
 
-